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 57 #define __STDC_LIMIT_MACROS 62 #if !defined(__clang__) && defined(__GNUC__) && (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3)) 63 # include <debug/debug.h> 67 #if !defined(STRGEN) && !defined(SETTINGSGEN) && ((defined(__LP64__) && !defined(_SQ64)) || (!defined(__LP64__) && defined(_SQ64))) 68 # error "Compiling 64 bits without _SQ64 set! (or vice versa)" 73 #define Point OTTDPoint 74 #define WindowClass OTTDWindowClass 75 #define ScriptOrder OTTDScriptOrder 76 #define Palette OTTDPalette 77 #define GlyphID OTTDGlyphID 79 #include <CoreServices/CoreServices.h> 80 #include <ApplicationServices/ApplicationServices.h> 95 #define GetTime OTTD_GetTime 97 #define SL_ERROR OSX_SL_ERROR 102 typedef long NSInteger;
103 typedef unsigned long NSUInteger;
105 typedef int NSInteger;
106 typedef unsigned int NSUInteger;
110 #ifndef CGFLOAT_DEFINED 112 typedef double CGFloat;
114 typedef float CGFloat;
119 #if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5 120 # define HAVE_NON_CONST_ICONV