summaryrefslogtreecommitdiffstats
path: root/lib/sqlite/CMakeLists.txt
diff options
context:
space:
mode:
authorworktycho <work.tycho@gmail.com>2014-05-28 21:41:34 +0200
committerworktycho <work.tycho@gmail.com>2014-05-28 21:41:34 +0200
commita2b741d904d55915fe041ff17d2ffadc7bf8221c (patch)
treeabb0b75ba2b9f47065351dea0612e82df093c703 /lib/sqlite/CMakeLists.txt
parentFreeBSD requires __POSIX_VISIBLE macro to be defined (diff)
downloadcuberite-a2b741d904d55915fe041ff17d2ffadc7bf8221c.tar
cuberite-a2b741d904d55915fe041ff17d2ffadc7bf8221c.tar.gz
cuberite-a2b741d904d55915fe041ff17d2ffadc7bf8221c.tar.bz2
cuberite-a2b741d904d55915fe041ff17d2ffadc7bf8221c.tar.lz
cuberite-a2b741d904d55915fe041ff17d2ffadc7bf8221c.tar.xz
cuberite-a2b741d904d55915fe041ff17d2ffadc7bf8221c.tar.zst
cuberite-a2b741d904d55915fe041ff17d2ffadc7bf8221c.zip
Diffstat (limited to 'lib/sqlite/CMakeLists.txt')
-rw-r--r--lib/sqlite/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlite/CMakeLists.txt b/lib/sqlite/CMakeLists.txt
index d3bba6606..da16ce411 100644
--- a/lib/sqlite/CMakeLists.txt
+++ b/lib/sqlite/CMakeLists.txt
@@ -18,7 +18,7 @@ if (WIN32)
endif()
# FreeBSD requires us to define this to get POSIX 2001 standard
-if (SYSTEM_NAME STREQUAL "FreeBSD"))
+if (SYSTEM_NAME STREQUAL "FreeBSD")
add_flags_cxx(-D__POSIX_VISIBLE=200112)
endif()