(svn r27675) -Fix [FS#6502]: [OSX] Building with 10.11 or 10.12 SDKs.
This commit is contained in:
@@ -13,6 +13,17 @@
|
||||
#define MACOS_STDAFX_H
|
||||
|
||||
|
||||
#include <AvailabilityMacros.h>
|
||||
|
||||
/* We assume if these macros are defined, the SDK is also at least this version or later. */
|
||||
#ifdef MAC_OS_X_VERSION_10_7
|
||||
#define HAVE_OSX_107_SDK
|
||||
#endif
|
||||
|
||||
#ifdef MAC_OS_X_VERSION_10_11
|
||||
#define HAVE_OSX_1011_SDK
|
||||
#endif
|
||||
|
||||
/* It would seem that to ensure backward compability we have to ensure that we have defined MAC_OS_X_VERSION_10_x everywhere */
|
||||
#ifndef MAC_OS_X_VERSION_10_3
|
||||
#define MAC_OS_X_VERSION_10_3 1030
|
||||
@@ -57,8 +68,6 @@
|
||||
# error "Compiling 64 bits without _SQ64 set! (or vice versa)"
|
||||
#endif
|
||||
|
||||
#include <AvailabilityMacros.h>
|
||||
|
||||
/* Name conflict */
|
||||
#define Rect OTTDRect
|
||||
#define Point OTTDPoint
|
||||
|
Reference in New Issue
Block a user