Browse Source

COMP: Do not do va_list hack if there is no std:: namespace.

Brad King 20 years ago
parent
commit
3f224b7558
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/kwsys/SystemTools.hxx.in

+ 1 - 1
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