Workaround for building against MacOSX 10.6 SDK but with 10.4 as the highest used API

This commit is contained in:
Tor Lillqvist
2011-10-03 16:52:50 +03:00
parent e5c80a1f1c
commit 84e2f8ff43

View File

@@ -1597,11 +1597,10 @@ private:
return 0; return 0;
} }
#if defined(MAC_OS_X_VERSION_10_5) && (MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_5) #if defined(MAC_OS_X_VERSION_10_5)
/* build target 10.5 or greater */ /* SDK 10.5 or greater, even if MAC_OS_X_VERSION_MAX_ALLOWED might be less than 10.5 */
- (NSInteger)conversationIdentifier - (NSInteger)conversationIdentifier
#else #else
/* build target 10.4 */
- (long)conversationIdentifier - (long)conversationIdentifier
#endif #endif
{ {