Revert "Define _POSIX_C_SOURCE=200809L"

This reverts commit 334eec94f8.

This broke the Mac build
This commit is contained in:
ridiculousfish 2019-02-20 13:28:46 -08:00
parent 334eec94f8
commit 177adb6837

View file

@ -129,14 +129,11 @@ SET_SOURCE_FILES_PROPERTIES(src/fish_version.cpp
OPTION(INTERNAL_WCWIDTH "use fallback wcwidth" ON)
IF(INTERNAL_WCWIDTH)
ADD_DEFINITIONS(-DHAVE_BROKEN_WCWIDTH=1)
add_definitions(-DHAVE_BROKEN_WCWIDTH=1)
ELSE()
ADD_DEFINITIONS(-DHAVE_BROKEN_WCWIDTH=0)
add_definitions(-DHAVE_BROKEN_WCWIDTH=0)
ENDIF()
# Enable thread-safe errno on Solaris (#5611)
ADD_DEFINITIONS(-D_POSIX_C_SOURCE=200809L)
# Set up PCRE2
INCLUDE(cmake/PCRE2.cmake)