comparison include/SDL_config_macosx.h @ 1659:14717b52abc0 SDL-1.3

Merge trunk-1.3-3
author Sam Lantinga <slouken@libsdl.org>
date Wed, 17 May 2006 08:18:28 +0000
parents e49147870aac
children
comparison
equal deleted inserted replaced
1658:e49147870aac 1659:14717b52abc0
28 /* This is a set of defines to configure the SDL features */ 28 /* This is a set of defines to configure the SDL features */
29 29
30 #define SDL_HAS_64BIT_TYPE 1 30 #define SDL_HAS_64BIT_TYPE 1
31 31
32 /* Useful headers */ 32 /* Useful headers */
33 /* If we specified an SDK or have a post-PowerPC chip, then alloca.h exists. */
34 #if ( (MAC_OS_X_VERSION_MIN_REQUIRED >= 1030) || (!defined(__POWERPC__)) )
33 #define HAVE_ALLOCA_H 1 35 #define HAVE_ALLOCA_H 1
36 #endif
34 #define HAVE_SYS_TYPES_H 1 37 #define HAVE_SYS_TYPES_H 1
35 #define HAVE_STDIO_H 1 38 #define HAVE_STDIO_H 1
36 #define STDC_HEADERS 1 39 #define STDC_HEADERS 1
37 #define HAVE_STRING_H 1 40 #define HAVE_STRING_H 1
38 #define HAVE_INTTYPES_H 1 41 #define HAVE_INTTYPES_H 1
44 /* C library functions */ 47 /* C library functions */
45 #define HAVE_MALLOC 1 48 #define HAVE_MALLOC 1
46 #define HAVE_CALLOC 1 49 #define HAVE_CALLOC 1
47 #define HAVE_REALLOC 1 50 #define HAVE_REALLOC 1
48 #define HAVE_FREE 1 51 #define HAVE_FREE 1
49
50 /* If we specified an SDK or have a post-PowerPC chip, then alloca.h exists. */
51 #if ( (MAC_OS_X_VERSION_MIN_REQUIRED >= 1030) || (!defined(__POWERPC__)) )
52 #define HAVE_ALLOCA 1 52 #define HAVE_ALLOCA 1
53 #endif
54
55 #define HAVE_GETENV 1 53 #define HAVE_GETENV 1
56 #define HAVE_PUTENV 1 54 #define HAVE_PUTENV 1
57 #define HAVE_UNSETENV 1 55 #define HAVE_UNSETENV 1
58 #define HAVE_QSORT 1 56 #define HAVE_QSORT 1
59 #define HAVE_ABS 1 57 #define HAVE_ABS 1
114 /* Enable various timer systems */ 112 /* Enable various timer systems */
115 #define SDL_TIMER_UNIX 1 113 #define SDL_TIMER_UNIX 1
116 114
117 /* Enable various video drivers */ 115 /* Enable various video drivers */
118 #define SDL_VIDEO_DRIVER_DUMMY 1 116 #define SDL_VIDEO_DRIVER_DUMMY 1
119 #define SDL_VIDEO_DRIVER_GLSDL 1 117 #if TARGET_API_MAC_CARBON
118 #define SDL_VIDEO_DRIVER_TOOLBOX 1
119 #else
120 #define SDL_VIDEO_DRIVER_QUARTZ 1 120 #define SDL_VIDEO_DRIVER_QUARTZ 1
121 #endif
121 122
122 /* Enable OpenGL support */ 123 /* Enable OpenGL support */
123 #define SDL_VIDEO_OPENGL 1 124 #define SDL_VIDEO_OPENGL 1
124 125
125 /* Enable assembly routines */ 126 /* Enable assembly routines */