physfs_internal.h
changeset 851 dcfbb779ff40
parent 850 2bc230284fed
child 852 9467e96abdf1
equal deleted inserted replaced
850:2bc230284fed 851:dcfbb779ff40
  1271 #define GOTO_MACRO_MUTEX(e, m, g) { __PHYSFS_setError(e); __PHYSFS_platformReleaseMutex(m); goto g; }
  1271 #define GOTO_MACRO_MUTEX(e, m, g) { __PHYSFS_setError(e); __PHYSFS_platformReleaseMutex(m); goto g; }
  1272 #define GOTO_IF_MACRO_MUTEX(c, e, m, g) if (c) { __PHYSFS_setError(e); __PHYSFS_platformReleaseMutex(m); goto g; }
  1272 #define GOTO_IF_MACRO_MUTEX(c, e, m, g) if (c) { __PHYSFS_setError(e); __PHYSFS_platformReleaseMutex(m); goto g; }
  1273 
  1273 
  1274 #define __PHYSFS_ARRAYLEN(x) ( (sizeof (x)) / (sizeof (x[0])) )
  1274 #define __PHYSFS_ARRAYLEN(x) ( (sizeof (x)) / (sizeof (x[0])) )
  1275 
  1275 
  1276 #ifdef __GNUC__
  1276 #if (defined __GNUC__)
  1277 #define __PHYSFS_SI64(x) x##LL
  1277 #define __PHYSFS_SI64(x) x##LL
  1278 #define __PHYSFS_UI64(x) x##ULL
  1278 #define __PHYSFS_UI64(x) x##ULL
       
  1279 #elif (defined _MSC_VER)
       
  1280 #define __PHYSFS_SI64(x) x##i64
       
  1281 #define __PHYSFS_UI64(x) x##ui64
  1279 #else
  1282 #else
  1280 #define __PHYSFS_SI64(x) x
  1283 #define __PHYSFS_SI64(x) x
  1281 #define __PHYSFS_UI64(x) x
  1284 #define __PHYSFS_UI64(x) x
  1282 #endif
  1285 #endif
  1283 
  1286