diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2017-02-16 00:07:10 -0800 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2017-02-16 00:07:10 -0800 |
commit | 68df8c0b7bacec286d4798408b5a110bdac88986 (patch) | |
tree | dc33f6ec33efea7da01ff83ec8c7092414dfbed6 /Menes | |
parent | 03ef79ee43de8ebf2ddfeb53c30ad3a12bfce517 (diff) |
Put CydiaURLCache/NSURLConnection hook in CyteKit.
Diffstat (limited to 'Menes')
-rw-r--r-- | Menes/ObjectHandle.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Menes/ObjectHandle.h b/Menes/ObjectHandle.h index 9b8d57d..727338b 100644 --- a/Menes/ObjectHandle.h +++ b/Menes/ObjectHandle.h @@ -128,4 +128,8 @@ rproperty_(Class, field) \ wproperty_(Class, field, Field) \ @end +// XXX: I hate clang. Apple: please get over your petty hatred of GPL and fix your gcc fork +#define synchronized(lock) \ + synchronized(static_cast<NSObject *>(lock)) + #endif//Menes_ObjectHandle_H |