aboutsummaryrefslogtreecommitdiff
path: root/bitcoin-qt.pro
diff options
context:
space:
mode:
authorPieter Wuille <pieterw@google.com>2013-01-30 04:42:51 +0100
committerPieter Wuille <pieterw@google.com>2013-01-30 16:05:47 +0100
commit3cce597fc93b5b84e7f67db355b24d0c7e4d65e5 (patch)
tree85149d99ad547b55273788cfb35b7367d71b138f /bitcoin-qt.pro
parent2835080e164527ecc2db31e68d86ab8a8337c62b (diff)
Support large files on 32-bit Linux
Diffstat (limited to 'bitcoin-qt.pro')
-rw-r--r--bitcoin-qt.pro2
1 files changed, 2 insertions, 0 deletions
diff --git a/bitcoin-qt.pro b/bitcoin-qt.pro
index 6c1c4a78cc..8a6f9efebd 100644
--- a/bitcoin-qt.pro
+++ b/bitcoin-qt.pro
@@ -372,6 +372,8 @@ win32:!contains(MINGW_THREAD_BUGFIX, 0) {
!win32:!macx {
DEFINES += LINUX
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