src/physfs_internal.h
changeset 1228 7c0e9de2ba33
parent 1227 b5c017759a1f
child 1229 a6b73703c4f9
--- a/src/physfs_internal.h	Sun Mar 18 12:23:30 2012 -0400
+++ b/src/physfs_internal.h	Sun Mar 18 12:31:29 2012 -0400
@@ -55,6 +55,10 @@
 #   define inline __inline
 #endif
 
+#if defined(__linux__) && !defined(_FILE_OFFSET_BITS)
+#define _FILE_OFFSET_BITS 64
+#endif
+
 /*
  * Interface for small allocations. If you need a little scratch space for
  *  a throwaway buffer or string, use this. It will make small allocations