From 2ebeaf6626b9543e569f1e29fb6c6149c904502e Mon Sep 17 00:00:00 2001 From: "gtm.daemon" Date: Thu, 6 May 2010 22:35:09 +0000 Subject: [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 --- GTMDefines.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'GTMDefines.h') 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 -- cgit v1.2.3