diff options
Diffstat (limited to 'data/jocstrap/closures.diff')
-rw-r--r-- | data/jocstrap/closures.diff | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/data/jocstrap/closures.diff b/data/jocstrap/closures.diff index fdba6d14c..ddcdc3880 100644 --- a/data/jocstrap/closures.diff +++ b/data/jocstrap/closures.diff @@ -1,15 +1,12 @@ diff -ru jocstrap-1.0.2474/jocstrap/source/joc/Runtime.m jocstrap-1.0.2474+iPhone/jocstrap/source/joc/Runtime.m --- jocstrap-1.0.2474/jocstrap/source/joc/Runtime.m 2008-07-14 02:07:50.000000000 +0000 +++ jocstrap-1.0.2474+iPhone/jocstrap/source/joc/Runtime.m 2008-07-14 04:36:25.000000000 +0000 -@@ -242,7 +242,11 @@ +@@ -242,7 +242,7 @@ @throw joc_FromObject(env, error); } -+#ifdef __OBJC2__ - #define UseClosures false -+#else +-#define UseClosures false +#define UseClosures true -+#endif void ejprint(JNIEnv *env, jstring jvalue) { const char *cvalue = (*(*env)->GetStringUTFChars)(env, jvalue, NULL); |