Переглянути джерело

Merge pull request #364 from PKEuS/master

Moved include of <cstdarg> to cpp file
Lee Thomason 10 роки тому
батько
коміт
bb8fd3c29c
2 змінених файлів з 2 додано та 2 видалено
  1. 2 0
      tinyxml2.cpp
  2. 0 2
      tinyxml2.h

+ 2 - 0
tinyxml2.cpp

@@ -26,8 +26,10 @@ distribution.
 #include <new>		// yes, this one new style header, is in the Android SDK.
 #if defined(ANDROID_NDK) || defined(__QNXNTO__)
 #   include <stddef.h>
+#   include <stdarg.h>
 #else
 #   include <cstddef>
+#   include <cstdarg>
 #endif
 
 #if defined(_MSC_VER) && (_MSC_VER >= 1400 ) && (!defined WINCE)

+ 0 - 2
tinyxml2.h

@@ -30,14 +30,12 @@ distribution.
 #   include <stdio.h>
 #   include <stdlib.h>
 #   include <string.h>
-#   include <stdarg.h>
 #else
 #   include <cctype>
 #   include <climits>
 #   include <cstdio>
 #   include <cstdlib>
 #   include <cstring>
-#   include <cstdarg>
 #endif
 
 /*