diff --git a/ChangeLog.GNUstep b/ChangeLog.GNUstep index 12c9105..a53b296 100644 --- a/ChangeLog.GNUstep +++ b/ChangeLog.GNUstep @@ -1,3 +1,8 @@ +2004-02-17 Adam Fedor + + * GNUmakefile: Add defs for darwin. + * thr-mach.c: Update include. + 2003-11-22 Adam Fedor * thr-posix.c (__objc_init_thread_system): Set scope to diff --git a/GNUmakefile b/GNUmakefile index a92c99d..4fdb757 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -57,6 +57,11 @@ endif ifeq ($(GNUSTEP_TARGET_OS), cygwin) THREADING = win32 endif +ifeq ($(findstring darwin, $(GNUSTEP_TARGET_OS)), darwin) +THREADING = single +INTERNAL_CFLAGS += -no-cpp-precomp +INTERNAL_OBJCFLAGS += -no-cpp-precomp +endif GC_HEADER_FILES_DIR = ./gc/include GC_HEADER_FILES = \ diff --git a/thr-mach.c b/thr-mach.c index e954607..2491cb7 100644 --- a/thr-mach.c +++ b/thr-mach.c @@ -27,7 +27,7 @@ Boston, MA 02111-1307, USA. */ covered by the GNU General Public License. */ #include -#include +#include #include #include "runtime.h"