From d7bdab664ad1aef699270734a26f9dc74e269c15 Mon Sep 17 00:00:00 2001 From: Matthias Benkard Date: Wed, 5 Mar 2008 18:59:19 +0100 Subject: Fix a compilation warning on Mac OS X. darcs-hash:85fb9bdcbc82656ee6d08f6ac1cee72426e05822 --- Objective-C/GNUmakefile | 2 +- Objective-C/libobjcl.m | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Objective-C/GNUmakefile b/Objective-C/GNUmakefile index 770c12f..bbd0df8 100644 --- a/Objective-C/GNUmakefile +++ b/Objective-C/GNUmakefile @@ -53,7 +53,7 @@ endif libobjcl_OBJC_FILES += PyObjC/libffi_support.m endif -ifneq ($(COMMON_MAKE_LOADED),) +ifneq ($(COMMON_MAKE_LOADED),) # GNUstep -include $(GNUSTEP_MAKEFILES)/library.make before-all:: $(FFI_DEPS) diff --git a/Objective-C/libobjcl.m b/Objective-C/libobjcl.m index a13a853..54684bf 100644 --- a/Objective-C/libobjcl.m +++ b/Objective-C/libobjcl.m @@ -75,7 +75,9 @@ static NSMutableSet *lisp_backed_classes = nil; static int init_count = 0; +#ifndef __NEXT_RUNTIME__ static NSProcessInfo *process = nil; +#endif void * -- cgit v1.2.3