STYLE: Simplify and document VMS workarounds

The kwsysPrivate header double-inclusion check hits a false positive on
VMS for an undetermined reason.  This simplifies the workaround and
documents it.
This commit is contained in:
Brad King 2009-05-14 09:27:02 -04:00
parent 317b3a0ef8
commit 248bdadd94
1 changed files with 2 additions and 4 deletions

View File

@ -12,9 +12,7 @@
=========================================================================*/
#ifndef KWSYS_NAMESPACE
# ifndef __VMS
# error "Do not include kwsysPrivate.h outside of kwsys c and cxx files."
# endif
# error "Do not include kwsysPrivate.h outside of kwsys c and cxx files."
#endif
#ifndef _kwsysPrivate_h
@ -41,7 +39,7 @@
#define KWSYS_NAMESPACE_STRING1(x) #x
#else
# ifndef __VMS
# ifndef __VMS /* Avoid strange false positive on VMS compiler. */
# error "kwsysPrivate.h included multiple times."
# endif
#endif