diff options
author | Brad King <brad.king@kitware.com> | 2009-05-14 13:27:02 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-05-14 13:27:02 (GMT) |
commit | 248bdadd94348f86c81adf807fbf92557b2b1609 (patch) | |
tree | 0a684de06616705186369ed03031306c4aca89bd /Source/kwsys/kwsysPrivate.h | |
parent | 317b3a0ef859320f81d5a84c2abbcf2368d17151 (diff) | |
download | CMake-248bdadd94348f86c81adf807fbf92557b2b1609.zip CMake-248bdadd94348f86c81adf807fbf92557b2b1609.tar.gz CMake-248bdadd94348f86c81adf807fbf92557b2b1609.tar.bz2 |
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.
Diffstat (limited to 'Source/kwsys/kwsysPrivate.h')
-rw-r--r-- | Source/kwsys/kwsysPrivate.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/kwsys/kwsysPrivate.h b/Source/kwsys/kwsysPrivate.h index 0e4c32c..822ea53 100644 --- a/Source/kwsys/kwsysPrivate.h +++ b/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 |