summaryrefslogtreecommitdiff
path: root/macosx/ARCBridge.h
diff options
context:
space:
mode:
authorSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-07-06 03:02:24 +0000
committerSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-07-06 03:02:24 +0000
commitfda7db4491a0c1620afcd50d7f53985442c6e856 (patch)
tree0d6693a5c38149cda109e6839de2a7879221e130 /macosx/ARCBridge.h
parentea22cb43790add304b8b3620e45fe4a8e7b719c2 (diff)
downloadpcsxr-fda7db4491a0c1620afcd50d7f53985442c6e856.tar.gz
Minor OS X changes.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85869 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'macosx/ARCBridge.h')
-rw-r--r--macosx/ARCBridge.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/macosx/ARCBridge.h b/macosx/ARCBridge.h
index ea274b84..7e722980 100644
--- a/macosx/ARCBridge.h
+++ b/macosx/ARCBridge.h
@@ -19,6 +19,8 @@
#define AUTORELEASEOBJNORETURN(obj)
#define BRIDGE(toType, obj) (__bridge toType)(obj)
#define __arcweak __weak
+#define arcweak weak
+#define arcstrong strong
#else
@@ -30,7 +32,11 @@
#define AUTORELEASEOBJNORETURN(obj) [obj autorelease]
#define BRIDGE(toType, obj) (toType)obj
#define __arcweak
+#define arcweak assign
+#define arcstrong retain
#endif
+#define arcretain arcstrong
+
#endif