X-Git-Url: https://git.saurik.com/cydia.git/blobdiff_plain/323746d39bfa3830194974658233d0b45809b060..367a112d938db5c80814b42c428b517e4a65efd9:/Menes/ObjectHandle.h diff --git a/Menes/ObjectHandle.h b/Menes/ObjectHandle.h index 6c2b1e15..727338b7 100644 --- a/Menes/ObjectHandle.h +++ b/Menes/ObjectHandle.h @@ -1,5 +1,5 @@ /* Cydia - iPhone UIKit Front-End for Debian APT - * Copyright (C) 2008-2013 Jay Freeman (saurik) + * Copyright (C) 2008-2015 Jay Freeman (saurik) */ /* GNU General Public License, Version 3 {{{ */ @@ -22,8 +22,6 @@ #ifndef Menes_ObjectHandle_H #define Menes_ObjectHandle_H -#include "CyteKit/UCPlatform.h" - #include #include @@ -130,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(lock)) + #endif//Menes_ObjectHandle_H