FreeBSD requires __POSIX_VISIBLE macro to be defined
This commit is contained in:
parent
171e13de4f
commit
1cf426d881
@ -17,6 +17,10 @@ if (WIN32)
|
||||
source_group("Sources" FILES ${SOURCE})
|
||||
endif()
|
||||
|
||||
# FreeBSD requires us to define this to get POSIX 2001 standard
|
||||
if (SYSTEM_NAME STREQUAL "FreeBSD"))
|
||||
add_flags_cxx(-D__POSIX_VISIBLE=200112)
|
||||
endif()
|
||||
|
||||
add_library(sqlite ${SOURCE})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user