aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2013-01-30 15:25:30 -0800
committerGavin Andresen <gavinandresen@gmail.com>2013-01-30 15:25:30 -0800
commit8fd65c944f8f55ed956ac2ce6105060bf499741e (patch)
treed704dacc997ddb3536b6307404d2536e09c5ba78 /src
parent4dfae2fd2f07e19430ca057d4b367ce7f6c7fd0c (diff)
parent3cce597fc93b5b84e7f67db355b24d0c7e4d65e5 (diff)
Merge pull request #2236 from sipa/largefiles
Support large files on 32-bit Linux
Diffstat (limited to 'src')
-rw-r--r--src/makefile.unix2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/makefile.unix b/src/makefile.unix
index 14cf1b8fa5..b52a0f8aea 100644
--- a/src/makefile.unix
+++ b/src/makefile.unix
@@ -7,7 +7,7 @@ USE_IPV6:=1
LINK:=$(CXX)
-DEFS=-DBOOST_SPIRIT_THREADSAFE
+DEFS=-DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64
DEFS += $(addprefix -I,$(CURDIR) $(CURDIR)/obj $(BOOST_INCLUDE_PATH) $(BDB_INCLUDE_PATH) $(OPENSSL_INCLUDE_PATH))
LIBS = $(addprefix -L,$(BOOST_LIB_PATH) $(BDB_LIB_PATH) $(OPENSSL_LIB_PATH))