aboutsummaryrefslogtreecommitdiff
path: root/GTMDefines.h
diff options
context:
space:
mode:
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 2bc3c5e..d10a26c 100644
--- a/GTMDefines.h
+++ b/GTMDefines.h
@@ -287,6 +287,11 @@ GTM_EXTERN void _GTMUnitTestDevLog(NSString *format, ...);
#define NS_FORMAT_ARGUMENT(A)
#endif
+// Defined on 10.6 and above.
+#ifndef NS_FORMAT_FUNCTION
+ #define NS_FORMAT_FUNCTION(F,A)
+#endif
+
#ifndef GTM_NONNULL
#define GTM_NONNULL(x) __attribute__((nonnull(x)))
#endif