]> git.saurik.com Git - cycript.git/blobdiff - ObjectiveC/Library.mm
Port to Linux: g++ 4.8 and JavaScriptCoreGTK+ 4.0.
[cycript.git] / ObjectiveC / Library.mm
index dccc3ad3b8a9488f13d6dbd4a382604d8980067c..c302305791bbd0bc9c4074270da90f1afccfdfb7 100644 (file)
@@ -1086,6 +1086,7 @@ NSObject *CYCopyNSObject(CYPool &pool, JSContextRef context, JSValueRef value) {
 @end
 /* }}} */
 /* Bridge: NSOrderedSet {{{ */
+#ifdef __APPLE__
 @implementation NSOrderedSet (Cycript)
 
 - (NSString *) cy$toCYON:(bool)objective inSet:(std::set<void *> &)objects {
@@ -1099,6 +1100,7 @@ NSObject *CYCopyNSObject(CYPool &pool, JSContextRef context, JSValueRef value) {
 }
 
 @end
+#endif
 /* }}} */
 /* Bridge: NSProxy {{{ */
 @implementation NSProxy (Cycript)