summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/SystemTools.hxx.in
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2005-04-21 17:56:55 (GMT)
committerBrad King <brad.king@kitware.com>2005-04-21 17:56:55 (GMT)
commit3f224b755805cac375fecb13da08c17b188fae01 (patch)
tree2d8fb6de35dece88042f87b7b3f5b529a44958b8 /Source/kwsys/SystemTools.hxx.in
parent8ddc8accb3213e96cd3fdb56570b6c158342b1a9 (diff)
downloadCMake-3f224b755805cac375fecb13da08c17b188fae01.zip
CMake-3f224b755805cac375fecb13da08c17b188fae01.tar.gz
CMake-3f224b755805cac375fecb13da08c17b188fae01.tar.bz2
COMP: Do not do va_list hack if there is no std:: namespace.
Diffstat (limited to 'Source/kwsys/SystemTools.hxx.in')
-rw-r--r--Source/kwsys/SystemTools.hxx.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/kwsys/SystemTools.hxx.in b/Source/kwsys/SystemTools.hxx.in
index 74fce4d..9555af0 100644
--- a/Source/kwsys/SystemTools.hxx.in
+++ b/Source/kwsys/SystemTools.hxx.in
@@ -25,7 +25,7 @@
// Required for va_list
#include <stdarg.h>
-#ifndef va_list
+#if @KWSYS_NAMESPACE@_STL_HAVE_STD && !defined(va_list)
// Some compilers move va_list into the std:: namespace and there is no way to
// tell that this has been done. Playing with things being included before or
// after stdarg.h does not solve things because we do not have control over