|
@@ -69,7 +69,7 @@ endif()
|
|
# Use 64-bit off_t on 32-bit Linux
|
|
# Use 64-bit off_t on 32-bit Linux
|
|
if (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SIZEOF_VOID_P EQUAL 4)
|
|
if (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SIZEOF_VOID_P EQUAL 4)
|
|
# ensure 64bit offsets are used for filesystem accesses for 32bit compilation
|
|
# ensure 64bit offsets are used for filesystem accesses for 32bit compilation
|
|
- add_compile_definitions(_FILE_OFFSET_BITS=64)
|
|
|
|
|
|
+ add_compile_definitions(_FILE_OFFSET_BITS=64 _TIME_BITS=64)
|
|
endif()
|
|
endif()
|
|
|
|
|
|
# Workaround for TOC Overflow on ppc64
|
|
# Workaround for TOC Overflow on ppc64
|