00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef _SDL_config_macosx_h
00024 #define _SDL_config_macosx_h
00025
00026 #include "SDL_platform.h"
00027
00028
00029 #include <AvailabilityMacros.h>
00030
00031
00032
00033 #define SDL_HAS_64BIT_TYPE 1
00034
00035
00036
00037 #if ( (MAC_OS_X_VERSION_MIN_REQUIRED >= 1030) || (!defined(__POWERPC__)) )
00038 #define HAVE_ALLOCA_H 1
00039 #endif
00040 #define HAVE_SYS_TYPES_H 1
00041 #define HAVE_STDIO_H 1
00042 #define STDC_HEADERS 1
00043 #define HAVE_STRING_H 1
00044 #define HAVE_INTTYPES_H 1
00045 #define HAVE_STDINT_H 1
00046 #define HAVE_CTYPE_H 1
00047 #define HAVE_MATH_H 1
00048 #define HAVE_SIGNAL_H 1
00049
00050
00051 #define HAVE_MALLOC 1
00052 #define HAVE_CALLOC 1
00053 #define HAVE_REALLOC 1
00054 #define HAVE_FREE 1
00055 #define HAVE_ALLOCA 1
00056 #define HAVE_GETENV 1
00057 #define HAVE_PUTENV 1
00058 #define HAVE_UNSETENV 1
00059 #define HAVE_QSORT 1
00060 #define HAVE_ABS 1
00061 #define HAVE_BCOPY 1
00062 #define HAVE_MEMSET 1
00063 #define HAVE_MEMCPY 1
00064 #define HAVE_MEMMOVE 1
00065 #define HAVE_MEMCMP 1
00066 #define HAVE_STRLEN 1
00067 #define HAVE_STRLCPY 1
00068 #define HAVE_STRLCAT 1
00069 #define HAVE_STRDUP 1
00070 #define HAVE_STRCHR 1
00071 #define HAVE_STRRCHR 1
00072 #define HAVE_STRSTR 1
00073 #define HAVE_STRTOL 1
00074 #define HAVE_STRTOUL 1
00075 #define HAVE_STRTOLL 1
00076 #define HAVE_STRTOULL 1
00077 #define HAVE_STRTOD 1
00078 #define HAVE_ATOI 1
00079 #define HAVE_ATOF 1
00080 #define HAVE_STRCMP 1
00081 #define HAVE_STRNCMP 1
00082 #define HAVE_STRCASECMP 1
00083 #define HAVE_STRNCASECMP 1
00084 #define HAVE_SSCANF 1
00085 #define HAVE_SNPRINTF 1
00086 #define HAVE_VSNPRINTF 1
00087 #define HAVE_SIGACTION 1
00088 #define HAVE_SETJMP 1
00089 #define HAVE_NANOSLEEP 1
00090
00091
00092 #define SDL_AUDIO_DRIVER_COREAUDIO 1
00093 #define SDL_AUDIO_DRIVER_DISK 1
00094 #define SDL_AUDIO_DRIVER_DUMMY 1
00095
00096
00097 #define SDL_CDROM_MACOSX 1
00098
00099
00100 #define SDL_JOYSTICK_IOKIT 1
00101
00102
00103 #ifdef __ppc__
00104
00105 #define SDL_LOADSO_DLCOMPAT 1
00106 #else
00107 #define SDL_LOADSO_DLOPEN 1
00108 #endif
00109
00110
00111 #define SDL_THREAD_PTHREAD 1
00112 #define SDL_THREAD_PTHREAD_RECURSIVE_MUTEX 1
00113
00114
00115 #define SDL_TIMER_UNIX 1
00116
00117
00118 #define SDL_VIDEO_DRIVER_DUMMY 1
00119 #if ((defined TARGET_API_MAC_CARBON) && (TARGET_API_MAC_CARBON))
00120 #define SDL_VIDEO_DRIVER_TOOLBOX 1
00121 #else
00122 #define SDL_VIDEO_DRIVER_QUARTZ 1
00123 #endif
00124 #define SDL_VIDEO_DRIVER_DGA 1
00125 #define SDL_VIDEO_DRIVER_X11 1
00126 #define SDL_VIDEO_DRIVER_X11_DGAMOUSE 1
00127 #define SDL_VIDEO_DRIVER_X11_DYNAMIC "/usr/X11R6/lib/libX11.6.dylib"
00128 #define SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT "/usr/X11R6/lib/libXext.6.dylib"
00129 #define SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR "/usr/X11R6/lib/libXrandr.2.dylib"
00130 #define SDL_VIDEO_DRIVER_X11_DYNAMIC_XRENDER "/usr/X11R6/lib/libXrender.1.dylib"
00131 #define SDL_VIDEO_DRIVER_X11_VIDMODE 1
00132 #define SDL_VIDEO_DRIVER_X11_XINERAMA 1
00133 #define SDL_VIDEO_DRIVER_X11_XME 1
00134 #define SDL_VIDEO_DRIVER_X11_XRANDR 1
00135 #define SDL_VIDEO_DRIVER_X11_XV 1
00136
00137
00138 #define SDL_VIDEO_OPENGL 1
00139 #define SDL_VIDEO_OPENGL_GLX 1
00140
00141
00142 #define SDL_VIDEO_DISABLE_SCREENSAVER 1
00143
00144
00145 #define SDL_ASSEMBLY_ROUTINES 1
00146 #ifdef __ppc__
00147 #define SDL_ALTIVEC_BLITTERS 1
00148 #endif
00149
00150 #endif