summaryrefslogtreecommitdiff
path: root/Objective-C
diff options
context:
space:
mode:
authorMatthias Benkard <code@mail.matthias.benkard.de>2008-02-10 17:36:08 +0100
committerMatthias Benkard <code@mail.matthias.benkard.de>2008-02-10 17:36:08 +0100
commit38747051bbe8bf893363c99374118e237e252cb7 (patch)
treede9bd9c4e7d27dc218a5d509c11a55f48087957b /Objective-C
parentede0c056cba36f65464c9ac4f15d00b44eeacd4f (diff)
System definition: Copy the system prior to compilation instead of after it.
darcs-hash:73cfed6be2a95e02cf75bcd8cc6b26abf3778a9e
Diffstat (limited to 'Objective-C')
-rw-r--r--Objective-C/NSObject-ObjectiveCLWrapperLink.m4
1 files changed, 4 insertions, 0 deletions
diff --git a/Objective-C/NSObject-ObjectiveCLWrapperLink.m b/Objective-C/NSObject-ObjectiveCLWrapperLink.m
index 5dac3a7..8677ef3 100644
--- a/Objective-C/NSObject-ObjectiveCLWrapperLink.m
+++ b/Objective-C/NSObject-ObjectiveCLWrapperLink.m
@@ -5,6 +5,10 @@
#import <Foundation/NSObject.h>
#import <Foundation/NSString.h>
+#ifndef NULL
+#define NULL (void *)0
+#endif
+
static NSMutableDictionary *instance_wrappers = NULL;
void