Skip to content

Commit d53d533

Browse files
committed
don't crash on test failure on macos
1 parent 36e36cd commit d53d533

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api_test/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ if(MSVC)
2626
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /wd4706 /D_CRT_SECURE_NO_WARNINGS")
2727
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /TP")
2828
elseif(CMAKE_COMPILER_IS_GNUCC OR "${CMAKE_C_COMPILER_ID}" STREQUAL "Clang")
29-
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -std=c99 -pedantic -D_BSD_SOURCE -D_POSIX_SOURCE")
29+
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -std=c99 -pedantic")
3030
endif()

0 commit comments

Comments
 (0)