]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - quakedef.h
Rewritten SVQC stringbuffer saving routines (which is part of yet unfinished databuff...
[xonotic/darkplaces.git] / quakedef.h
index afa8aaa7d0af69a8678d0fa5926b0b55954a05fc..6bd5ddfaee6bd78214cc9b56c70c2daf6072f759 100644 (file)
@@ -563,7 +563,9 @@ void Sys_Shared_Init(void);
 #define VECTOR_LOSSLESS_FORMAT "%.9g %.9g %.9g"
 #endif
 
-#ifdef _MSC_VER
+// originally this was _MSC_VER
+// but here we want to test the system libc, which on win32 is borked, and NOT the compiler
+#ifdef WIN32
 #define INT_LOSSLESS_FORMAT_SIZE "I64"
 #define INT_LOSSLESS_FORMAT_CONVERT_S(x) ((__int64)(x))
 #define INT_LOSSLESS_FORMAT_CONVERT_U(x) ((unsigned __int64)(x))