aboutsummaryrefslogtreecommitdiff
path: root/GTMDefines.h
diff options
context:
space:
mode:
authorGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2010-05-06 22:35:09 +0000
committerGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2010-05-06 22:35:09 +0000
commit2ebeaf6626b9543e569f1e29fb6c6149c904502e (patch)
treed1be65fdbb1c7df25b32680d89f35fcd528f3604 /GTMDefines.h
parent68f68d2763dac1dc1677b3e49eec507709c4dce9 (diff)
[Author: dmaclach]
So I can get around warnings on CoverStory on SnowLeopard. Hopefully Apple will fix this on their end and we can drop back to NSLocalizedString in future SDKs. R=thomasvl
Diffstat (limited to 'GTMDefines.h')
-rw-r--r--GTMDefines.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/GTMDefines.h b/GTMDefines.h
index 4090aa3..dc058cf 100644
--- a/GTMDefines.h
+++ b/GTMDefines.h
@@ -282,6 +282,11 @@ GTM_EXTERN void _GTMUnitTestDevLog(NSString *format, ...);
#endif
#endif
+// Defined on 10.6 and above.
+#ifndef NS_FORMAT_ARGUMENT
+ #define NS_FORMAT_ARGUMENT(A)
+#endif
+
#ifndef GTM_NONNULL
#define GTM_NONNULL(x) __attribute__((nonnull(x)))
#endif