Define '_FILE_OFFSET_BITS=64'
This commit is contained in:
parent
770e0a0db6
commit
809007d77c
2
setup.py
2
setup.py
|
@ -83,6 +83,7 @@ _extra_compile_args = [
|
||||||
"-DTORRENT_USE_OPENSSL=1",
|
"-DTORRENT_USE_OPENSSL=1",
|
||||||
"-DHAVE_SSL=1",
|
"-DHAVE_SSL=1",
|
||||||
"-O2",
|
"-O2",
|
||||||
|
"-D_FILE_OFFSET_BITS=64",
|
||||||
"-DNDEBUG"
|
"-DNDEBUG"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -96,7 +97,6 @@ if windows_check():
|
||||||
"-DWIN32",
|
"-DWIN32",
|
||||||
"-DUNICODE",
|
"-DUNICODE",
|
||||||
"-DBOOST_ALL_NO_LIB",
|
"-DBOOST_ALL_NO_LIB",
|
||||||
"-D_FILE_OFFSET_BITS=64",
|
|
||||||
"-DBOOST_THREAD_USE_LIB",
|
"-DBOOST_THREAD_USE_LIB",
|
||||||
"-DTORRENT_BUILDING_SHARED",
|
"-DTORRENT_BUILDING_SHARED",
|
||||||
"-DTORRENT_LINKING_SHARED",
|
"-DTORRENT_LINKING_SHARED",
|
||||||
|
|
Loading…
Reference in New Issue