Fixup largefile settings
authorEric Andersen <andersen@codepoet.org>
Sun, 22 Sep 2002 12:09:44 +0000 (12:09 -0000)
committerEric Andersen <andersen@codepoet.org>
Sun, 22 Sep 2002 12:09:44 +0000 (12:09 -0000)
 -Erik

Rules.mak

index 0f6f9b152e16fbd677aaec155e13bcc81b18a6cb..357529d1ad33b04527a2562b17b4f7fd03383ea0 100644 (file)
--- a/Rules.mak
+++ b/Rules.mak
@@ -162,7 +162,7 @@ OPTIMIZATIONS:=$(OPTIMIZATION) -fomit-frame-pointer
 
 ifeq ($(strip $(DOLFS)),true)
     # For large file summit support
-    CFLAGS+=-D_FILE_OFFSET_BITS=64 -D__USE_FILE_OFFSET64
+    CFLAGS+=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
 endif
 ifeq ($(strip $(DODMALLOC)),true)
     # For testing mem leaks with dmalloc