From 8ddb49cefd01b220ad5e1d2f0060b2a0ad54efdb Mon Sep 17 00:00:00 2001 From: "thomasvl@gmail.com" Date: Tue, 4 Nov 2008 20:10:52 +0000 Subject: - Added has ability to check if a script has an open handler to GTMNSAppleScript+Handler. - GTMStackTrace support for building a trace from the call stack in an NSException (for 10.5+ and iPhone). - Added GTMUIFont+LineHeight. - Cleaned up some OS version checks to use constants instead of numbers directly. --- GTMDefines.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'GTMDefines.h') diff --git a/GTMDefines.h b/GTMDefines.h index 1d1c908..bd37b3e 100644 --- a/GTMDefines.h +++ b/GTMDefines.h @@ -20,9 +20,12 @@ #include +// Not all MAC_OS_X_VERSION_10_X macros defined in past SDKs +#ifndef MAC_OS_X_VERSION_10_5 +# define MAC_OS_X_VERSION_10_5 1050 +#endif #ifndef MAC_OS_X_VERSION_10_6 -// MAC_OS_X_VERSION_10_6 not defined in some earlier SDKs -#define MAC_OS_X_VERSION_10_6 1060 +# define MAC_OS_X_VERSION_10_6 1060 #endif // ---------------------------------------------------------------------------- -- cgit v1.2.3