summaryrefslogtreecommitdiff
path: root/Objective-C
diff options
context:
space:
mode:
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