Explorar o código

Merge pull request #807 from jsenn/sharpen-ftell-ifdef

Sharpened check for 64-bit Unix when defining fseek/ftell macros.
Lee Thomason %!s(int64=6) %!d(string=hai) anos
pai
achega
99db0247d6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      tinyxml2.cpp

+ 1 - 1
tinyxml2.cpp

@@ -106,7 +106,7 @@ distribution.
 #elif defined(__APPLE__)
 	#define TIXML_FSEEK fseeko
 	#define TIXML_FTELL ftello
-#elif defined(__x86_64__)
+#elif defined(__unix__) && defined(__x86_64__)
 	#define TIXML_FSEEK fseeko64
 	#define TIXML_FTELL ftello64
 #else