mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-14 14:03:58 +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)
|
OPTION(INTERNAL_WCWIDTH "use fallback wcwidth" ON)
|
||||||
IF(INTERNAL_WCWIDTH)
|
IF(INTERNAL_WCWIDTH)
|
||||||
ADD_DEFINITIONS(-DHAVE_BROKEN_WCWIDTH=1)
|
add_definitions(-DHAVE_BROKEN_WCWIDTH=1)
|
||||||
ELSE()
|
ELSE()
|
||||||
ADD_DEFINITIONS(-DHAVE_BROKEN_WCWIDTH=0)
|
add_definitions(-DHAVE_BROKEN_WCWIDTH=0)
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
# Enable thread-safe errno on Solaris (#5611)
|
|
||||||
ADD_DEFINITIONS(-D_POSIX_C_SOURCE=200809L)
|
|
||||||
|
|
||||||
# Set up PCRE2
|
# Set up PCRE2
|
||||||
INCLUDE(cmake/PCRE2.cmake)
|
INCLUDE(cmake/PCRE2.cmake)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue