mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-14 00:14:11 +09:00
Enable 64-bit file support on FreeBSD as well
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user