support for pushing a file larger than 2GB on 32 bit system
authoryoonki.park <yoonki.park@samsung.com>
Mon, 15 Jul 2013 04:46:14 +0000 (13:46 +0900)
committeryoonki.park <yoonki.park@samsung.com>
Mon, 15 Jul 2013 04:46:14 +0000 (13:46 +0900)
Change-Id: I1564178e0c06c32f359c330078ebb607c8edd328
Signed-off-by: yoonki.park <yoonki.park@samsung.com>
Makefile

index 93091ab..02c3437 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -88,7 +88,7 @@ SDBD_SRC_FILES := \
 
 SDBD_CFLAGS := -O2 -g -DSDB_HOST=0 -Wall -Wno-unused-parameter
 SDBD_CFLAGS += -D_XOPEN_SOURCE -D_GNU_SOURCE
-SDBD_CFLAGS += -DHAVE_FORKEXEC -fPIE -D_DROP_PRIVILEGE
+SDBD_CFLAGS += -DHAVE_FORKEXEC -fPIE -D_DROP_PRIVILEGE -D_FILE_OFFSET_BITS=64
 
 IFLAGS := -Iinclude -Isrc
 OBJDIR := bin