From d692a0ede4597670aed83d00df5b5b9f354bd94f Mon Sep 17 00:00:00 2001 From: David Chisnall Date: Thu, 14 Jul 2016 12:12:21 +0100 Subject: [PATCH] Remove some definitions that hide non-standard libc functions that we use. --- CMakeLists.txt | 2 -- 1 file changed, 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9041e03..16b42a7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,8 +13,6 @@ set(libobjc_VERSION 4.6) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fexceptions") # Build configuration add_definitions( -DGNUSTEP -D__OBJC_RUNTIME_INTERNAL__=1) -# Probably not needed anymore? -add_definitions( -D_XOPEN_SOURCE=700 -D__BSD_VISIBLE=1 -D_BSD_SOURCE=1) set(libobjc_ASM_SRCS block_trampolines.S