Commit f29bff61 authored by Leif Walsh's avatar Leif Walsh Committed by Yoni Fogel

refs #5368 change up compiler defines to make freebsd happier


git-svn-id: file:///svn/toku/tokudb@48331 c7de825b-a66e-492c-adef-691d508d4ae1
parent 60f6e4b9
......@@ -10,13 +10,19 @@ endif ()
## preprocessor definitions we want everywhere
add_c_defines(
_SVID_SOURCE
_XOPEN_SOURCE=600
_FILE_OFFSET_BITS=64
_LARGEFILE64_SOURCE
__STDC_FORMAT_MACROS
__STDC_LIMIT_MACROS
__LONG_LONG_SUPPORTED
)
if (NOT CMAKE_SYSTEM_NAME STREQUAL FreeBSD)
## on FreeBSD these types of macros actually remove functionality
add_c_defines(
_SVID_SOURCE
_XOPEN_SOURCE=600
)
endif ()
## add TOKU_PTHREAD_DEBUG for debug builds
set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS_DEBUG TOKU_PTHREAD_DEBUG)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment