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:
parent
317b3a0ef8
commit
248bdadd94
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue