Merge pull request #2236 from sipa/largefiles
Support large files on 32-bit Linux
This commit is contained in:
commit
8fd65c944f
2 changed files with 3 additions and 1 deletions
|
@ -372,6 +372,8 @@ win32:!contains(MINGW_THREAD_BUGFIX, 0) {
|
||||||
!win32:!macx {
|
!win32:!macx {
|
||||||
DEFINES += LINUX
|
DEFINES += LINUX
|
||||||
LIBS += -lrt
|
LIBS += -lrt
|
||||||
|
# _FILE_OFFSET_BITS=64 lets 32-bit fopen transparently support large files.
|
||||||
|
DEFINES += _FILE_OFFSET_BITS=64
|
||||||
}
|
}
|
||||||
|
|
||||||
macx:HEADERS += src/qt/macdockiconhandler.h
|
macx:HEADERS += src/qt/macdockiconhandler.h
|
||||||
|
|
|
@ -7,7 +7,7 @@ USE_IPV6:=1
|
||||||
|
|
||||||
LINK:=$(CXX)
|
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))
|
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))
|
LIBS = $(addprefix -L,$(BOOST_LIB_PATH) $(BDB_LIB_PATH) $(OPENSSL_LIB_PATH))
|
||||||
|
|
Loading…
Reference in a new issue