diff options
author | Ladislav Zezula <zezula@volny.cz> | 2016-09-08 09:11:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-08 09:11:22 +0200 |
commit | e4728239240db4042b10a952ab5809903e7ec0aa (patch) | |
tree | 7f42459d078458a63fa629f0a0e359537126e723 | |
parent | 497a88257cee4e834da43461cad786b4d8ade378 (diff) | |
parent | 10f2349d4ba586d95db135a7270884cbd2a40ac3 (diff) |
Merge pull request #87 from heckendorfc/freebsd-open
Define O_LARGEFILE as 0 on FreeBSD.
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index cc84092..c3200fd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -282,7 +282,7 @@ if(${CMAKE_SYSTEM_NAME} STREQUAL FreeBSD) message(STATUS "Using FreeBSD port") set(LINK_LIBS z bz2) set(SRC_ADDITIONAL_FILES ${TOMCRYPT_FILES} ${TOMMATH_FILES}) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DO_LARGEFILE -Dstat64=stat -Dlstat64=lstat -Dlseek64=lseek -Doff64_t=off_t -Dfstat64=fstat -Dftruncate64=ftruncate") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DO_LARGEFILE=0 -Dstat64=stat -Dlstat64=lstat -Dlseek64=lseek -Doff64_t=off_t -Dfstat64=fstat -Dftruncate64=ftruncate") endif() if (${CMAKE_SYSTEM_NAME} STREQUAL Linux) |