Go to the documentation of this file. 12 #ifndef MACOS_STDAFX_H 13 #define MACOS_STDAFX_H 16 #include <AvailabilityMacros.h> 19 #ifdef MAC_OS_X_VERSION_10_7 20 #define HAVE_OSX_107_SDK 23 #ifdef MAC_OS_X_VERSION_10_11 24 #define HAVE_OSX_1011_SDK 28 #ifndef MAC_OS_X_VERSION_10_3 29 #define MAC_OS_X_VERSION_10_3 1030 32 #ifndef MAC_OS_X_VERSION_10_4 33 #define MAC_OS_X_VERSION_10_4 1040 36 #ifndef MAC_OS_X_VERSION_10_5 37 #define MAC_OS_X_VERSION_10_5 1050 40 #ifndef MAC_OS_X_VERSION_10_6 41 #define MAC_OS_X_VERSION_10_6 1060 44 #ifndef MAC_OS_X_VERSION_10_7 45 #define MAC_OS_X_VERSION_10_7 1070 48 #ifndef MAC_OS_X_VERSION_10_8 49 #define MAC_OS_X_VERSION_10_8 1080 52 #ifndef MAC_OS_X_VERSION_10_9 53 #define MAC_OS_X_VERSION_10_9 1090 56 #ifndef MAC_OS_X_VERSION_10_10 57 #define MAC_OS_X_VERSION_10_10 101000 60 #ifndef MAC_OS_X_VERSION_10_11 61 #define MAC_OS_X_VERSION_10_11 101100 64 #define __STDC_LIMIT_MACROS 69 #if !defined(__clang__) && defined(__GNUC__) && (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3)) 70 # include <debug/debug.h> 74 #if !defined(STRGEN) && !defined(SETTINGSGEN) && ((defined(__LP64__) && !defined(_SQ64)) || (!defined(__LP64__) && defined(_SQ64))) 75 # error "Compiling 64 bits without _SQ64 set! (or vice versa)" 80 #define Point OTTDPoint 81 #define WindowClass OTTDWindowClass 82 #define ScriptOrder OTTDScriptOrder 83 #define Palette OTTDPalette 84 #define GlyphID OTTDGlyphID 86 #include <CoreServices/CoreServices.h> 87 #include <ApplicationServices/ApplicationServices.h> 102 #define GetTime OTTD_GetTime 104 #define SL_ERROR OSX_SL_ERROR 109 typedef long NSInteger;
110 typedef unsigned long NSUInteger;
112 typedef int NSInteger;
113 typedef unsigned int NSUInteger;
117 #ifndef CGFLOAT_DEFINED 119 typedef double CGFloat;
121 typedef float CGFloat;
126 #if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5 127 # define HAVE_NON_CONST_ICONV