Browse Source

add GCC build flags for largefile >2GB support

Joseph Lee 22 years ago
parent
commit
fdae0a8487
1 changed files with 4 additions and 0 deletions
  1. 4 0
      dtool/Config.Linux.pp

+ 4 - 0
dtool/Config.Linux.pp

@@ -127,3 +127,7 @@
 // What is the syntax of the STL allocator declaration?  See
 // LocalSetup.pp for allowable values.
 #define STL_ALLOCATOR GNU
+
+// large file >2GB support
+#define _LARGEFILE_SOURCE 1
+#define _FILE_OFFSET_BITS 64