physfs_internal.h
changeset 850 2bc230284fed
parent 845 3f150ffcf50c
child 851 dcfbb779ff40
--- a/physfs_internal.h	Wed Mar 21 20:06:29 2007 +0000
+++ b/physfs_internal.h	Wed Mar 21 20:14:46 2007 +0000
@@ -1274,9 +1274,11 @@
 #define __PHYSFS_ARRAYLEN(x) ( (sizeof (x)) / (sizeof (x[0])) )
 
 #ifdef __GNUC__
-#define LONGLONGLITERAL(x) x##LL
+#define __PHYSFS_SI64(x) x##LL
+#define __PHYSFS_UI64(x) x##ULL
 #else
-#define LONGLONGLITERAL(x) x
+#define __PHYSFS_SI64(x) x
+#define __PHYSFS_UI64(x) x
 #endif
 
 /*
@@ -1288,7 +1290,7 @@
  */
 #define __PHYSFS_ui64FitsAddressSpace(s) ( \
     (sizeof (PHYSFS_uint64) > sizeof (size_t)) && \
-    ((s) > (LONGLONGLITERAL(0xFFFFFFFFFFFFFFFF) >> (64-(sizeof(size_t)*8)))) \
+    ((s) > (__PHYSFS_UI64(0xFFFFFFFFFFFFFFFF) >> (64-(sizeof(size_t)*8)))) \
 )
 
 /*