changeset 229:c7d1c11c9118 refactoring

32-bit LARGEFILE support Make the default compilation mode on Linux include the preprocessor defines for automatic largefile support.
author mas01cr
date Mon, 10 Dec 2007 18:20:08 +0000
parents acafe033b962
children 0eab3ca2267d
files Makefile
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Thu Dec 06 15:28:40 2007 +0000
+++ b/Makefile	Mon Dec 10 18:20:08 2007 +0000
@@ -5,6 +5,9 @@
 GSOAP_INCLUDE=
 
 override CFLAGS+=-O3 -g
+ifeq ($(shell uname),Linux)
+override CFLAGS+=-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
+endif
 
 EXECUTABLE=audioDB