Go to the documentation of this file. 10 #ifndef MACOS_STDAFX_H 11 #define MACOS_STDAFX_H 14 #include <AvailabilityMacros.h> 17 #ifdef MAC_OS_X_VERSION_10_7 18 #define HAVE_OSX_107_SDK 21 #ifdef MAC_OS_X_VERSION_10_11 22 #define HAVE_OSX_1011_SDK 26 #ifndef MAC_OS_X_VERSION_10_3 27 #define MAC_OS_X_VERSION_10_3 1030 30 #ifndef MAC_OS_X_VERSION_10_4 31 #define MAC_OS_X_VERSION_10_4 1040 34 #ifndef MAC_OS_X_VERSION_10_5 35 #define MAC_OS_X_VERSION_10_5 1050 38 #ifndef MAC_OS_X_VERSION_10_6 39 #define MAC_OS_X_VERSION_10_6 1060 42 #ifndef MAC_OS_X_VERSION_10_7 43 #define MAC_OS_X_VERSION_10_7 1070 46 #ifndef MAC_OS_X_VERSION_10_8 47 #define MAC_OS_X_VERSION_10_8 1080 50 #ifndef MAC_OS_X_VERSION_10_9 51 #define MAC_OS_X_VERSION_10_9 1090 54 #ifndef MAC_OS_X_VERSION_10_10 55 #define MAC_OS_X_VERSION_10_10 101000 58 #ifndef MAC_OS_X_VERSION_10_11 59 #define MAC_OS_X_VERSION_10_11 101100 62 #define __STDC_LIMIT_MACROS 67 #if !defined(__clang__) && defined(__GNUC__) && (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3)) 68 # include <debug/debug.h> 72 #if !defined(STRGEN) && !defined(SETTINGSGEN) && ((defined(__LP64__) && !defined(_SQ64)) || (!defined(__LP64__) && defined(_SQ64))) 73 # error "Compiling 64 bits without _SQ64 set! (or vice versa)" 78 #define Point OTTDPoint 79 #define WindowClass OTTDWindowClass 80 #define ScriptOrder OTTDScriptOrder 81 #define Palette OTTDPalette 82 #define GlyphID OTTDGlyphID 84 #include <CoreServices/CoreServices.h> 85 #include <ApplicationServices/ApplicationServices.h> 100 #define GetTime OTTD_GetTime 102 #define SL_ERROR OSX_SL_ERROR 107 typedef long NSInteger;
108 typedef unsigned long NSUInteger;
110 typedef int NSInteger;
111 typedef unsigned int NSUInteger;
115 #ifndef CGFLOAT_DEFINED 117 typedef double CGFloat;
119 typedef float CGFloat;
124 #if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5 125 # define HAVE_NON_CONST_ICONV