Enable 64-bit file support on FreeBSD as well
This commit is contained in:
parent
fbb21e3499
commit
5463b23591
@ -229,8 +229,8 @@ if(MSVC)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# Enable 64bit file support on linux.
|
||||
if("${CMAKE_SYSTEM_NAME}" MATCHES "Linux")
|
||||
# Enable 64bit file support on linux and FreeBSD.
|
||||
if("${CMAKE_SYSTEM_NAME}" MATCHES "Linux" OR FREEBSD)
|
||||
add_definitions("-D_FILE_OFFSET_BITS=64")
|
||||
endif()
|
||||
|
||||
|
@ -160,8 +160,8 @@ endif()
|
||||
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DWINPR_EXPORTS")
|
||||
|
||||
# Enable 64bit file support on linux.
|
||||
if("${CMAKE_SYSTEM_NAME}" MATCHES "Linux")
|
||||
# Enable 64bit file support on linux and FreeBSD.
|
||||
if("${CMAKE_SYSTEM_NAME}" MATCHES "Linux" OR FREEBSD)
|
||||
add_definitions("-D_FILE_OFFSET_BITS=64")
|
||||
endif()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user