mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
Revert "Define _POSIX_C_SOURCE=200809L"
This reverts commit 334eec94f8
.
This broke the Mac build
This commit is contained in:
parent
334eec94f8
commit
177adb6837
1 changed files with 2 additions and 5 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue