From 144a5bfda702e8e71f38313e7d8d381dff868203 Mon Sep 17 00:00:00 2001 From: "SND\\MaddTheSane_cp" Date: Mon, 28 Jan 2013 17:14:08 +0000 Subject: The weak directive is useless in non-ARC code. comment it out when not using ARC code. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@82567 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- macosx/ARCBridge.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'macosx/ARCBridge.h') diff --git a/macosx/ARCBridge.h b/macosx/ARCBridge.h index 3365a467..5a747bdd 100644 --- a/macosx/ARCBridge.h +++ b/macosx/ARCBridge.h @@ -17,6 +17,7 @@ #define AUTORELEASEOBJ(obj) obj #define AUTORELEASEOBJNORETURN(obj) #define BRIDGE(toType, obj) (__bridge toType)(obj) +#define __arcweak __weak #else @@ -26,6 +27,7 @@ #define AUTORELEASEOBJ(obj) [obj autorelease] #define AUTORELEASEOBJNORETURN(obj) [obj autorelease] #define BRIDGE(toType, obj) (toType)obj +#define __arcweak #endif -- cgit v1.2.3