Browse Source

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.
Brad King 16 years ago
parent
commit
248bdadd94
1 changed files with 2 additions and 4 deletions
  1. 2 4
      Source/kwsys/kwsysPrivate.h

+ 2 - 4
Source/kwsys/kwsysPrivate.h

@@ -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