misc/winutils/include/SDL_config.h
changeset 6560 ca07e6be08d0
child 7809 7d4fb2f35f4f
equal deleted inserted replaced
6559:4590dca73904 6560:ca07e6be08d0
       
     1 /* include/SDL_config.h.  Generated from SDL_config.h.in by configure.  */
       
     2 /*
       
     3     SDL - Simple DirectMedia Layer
       
     4     Copyright (C) 1997-2009 Sam Lantinga
       
     5 
       
     6     This library is free software; you can redistribute it and/or
       
     7     modify it under the terms of the GNU Lesser General Public
       
     8     License as published by the Free Software Foundation; either
       
     9     version 2.1 of the License, or (at your option) any later version.
       
    10 
       
    11     This library is distributed in the hope that it will be useful,
       
    12     but WITHOUT ANY WARRANTY; without even the implied warranty of
       
    13     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
       
    14     Lesser General Public License for more details.
       
    15 
       
    16     You should have received a copy of the GNU Lesser General Public
       
    17     License along with this library; if not, write to the Free Software
       
    18     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
       
    19 
       
    20     Sam Lantinga
       
    21     slouken@libsdl.org
       
    22 */
       
    23 
       
    24 #ifndef _SDL_config_h
       
    25 #define _SDL_config_h
       
    26 
       
    27 /* This is a set of defines to configure the SDL features */
       
    28 
       
    29 /* General platform specific identifiers */
       
    30 #include "SDL_platform.h"
       
    31 
       
    32 /* Make sure that this isn't included by Visual C++ */
       
    33 #ifdef _MSC_VER
       
    34 #error You should copy include/SDL_config.h.default to include/SDL_config.h
       
    35 #endif
       
    36 
       
    37 /* C language features */
       
    38 /* #undef const */
       
    39 /* #undef inline */
       
    40 /* #undef volatile */
       
    41 
       
    42 /* C datatypes */
       
    43 /* #undef size_t */
       
    44 /* #undef int8_t */
       
    45 /* #undef uint8_t */
       
    46 /* #undef int16_t */
       
    47 /* #undef uint16_t */
       
    48 /* #undef int32_t */
       
    49 /* #undef uint32_t */
       
    50 /* #undef int64_t */
       
    51 /* #undef uint64_t */
       
    52 /* #undef uintptr_t */
       
    53 #define SDL_HAS_64BIT_TYPE 1
       
    54 
       
    55 /* Endianness */
       
    56 #define SDL_BYTEORDER 1234
       
    57 
       
    58 /* Comment this if you want to build without any C library requirements */
       
    59 #define HAVE_LIBC 1
       
    60 #if HAVE_LIBC
       
    61 
       
    62 /* Useful headers */
       
    63 /* #undef HAVE_ALLOCA_H */
       
    64 #define HAVE_SYS_TYPES_H 1
       
    65 #define HAVE_STDIO_H 1
       
    66 #define STDC_HEADERS 1
       
    67 #define HAVE_STDLIB_H 1
       
    68 #define HAVE_STDARG_H 1
       
    69 #define HAVE_MALLOC_H 1
       
    70 #define HAVE_MEMORY_H 1
       
    71 #define HAVE_STRING_H 1
       
    72 #define HAVE_STRINGS_H 1
       
    73 #define HAVE_INTTYPES_H 1
       
    74 #define HAVE_STDINT_H 1
       
    75 #define HAVE_CTYPE_H 1
       
    76 #define HAVE_MATH_H 1
       
    77 /* #undef HAVE_ICONV_H */
       
    78 #define HAVE_SIGNAL_H 1
       
    79 /* #undef HAVE_ALTIVEC_H */
       
    80 
       
    81 /* C library functions */
       
    82 #define HAVE_MALLOC 1
       
    83 #define HAVE_CALLOC 1
       
    84 #define HAVE_REALLOC 1
       
    85 #define HAVE_FREE 1
       
    86 /* #undef HAVE_ALLOCA */
       
    87 #ifndef _WIN32 /* Don't use C runtime versions of these on Windows */
       
    88 #define HAVE_GETENV 1
       
    89 #define HAVE_PUTENV 1
       
    90 /* #undef HAVE_UNSETENV */
       
    91 #endif
       
    92 #define HAVE_QSORT 1
       
    93 #define HAVE_ABS 1
       
    94 /* #undef HAVE_BCOPY */
       
    95 #define HAVE_MEMSET 1
       
    96 #define HAVE_MEMCPY 1
       
    97 #define HAVE_MEMMOVE 1
       
    98 /* #undef HAVE_MEMCMP */
       
    99 #define HAVE_STRLEN 1
       
   100 /* #undef HAVE_STRLCPY */
       
   101 /* #undef HAVE_STRLCAT */
       
   102 #define HAVE_STRDUP 1
       
   103 #define HAVE__STRREV 1
       
   104 #define HAVE__STRUPR 1
       
   105 #define HAVE__STRLWR 1
       
   106 /* #undef HAVE_INDEX */
       
   107 /* #undef HAVE_RINDEX */
       
   108 #define HAVE_STRCHR 1
       
   109 #define HAVE_STRRCHR 1
       
   110 #define HAVE_STRSTR 1
       
   111 #define HAVE_ITOA 1
       
   112 #define HAVE__LTOA 1
       
   113 /* #undef HAVE__UITOA */
       
   114 #define HAVE__ULTOA 1
       
   115 #define HAVE_STRTOL 1
       
   116 #define HAVE_STRTOUL 1
       
   117 #define HAVE__I64TOA 1
       
   118 #define HAVE__UI64TOA 1
       
   119 #define HAVE_STRTOLL 1
       
   120 #define HAVE_STRTOULL 1
       
   121 /* #undef HAVE_STRTOD */
       
   122 #define HAVE_ATOI 1
       
   123 #define HAVE_ATOF 1
       
   124 #define HAVE_STRCMP 1
       
   125 #define HAVE_STRNCMP 1
       
   126 #define HAVE__STRICMP 1
       
   127 #define HAVE_STRCASECMP 1
       
   128 #define HAVE__STRNICMP 1
       
   129 #define HAVE_STRNCASECMP 1
       
   130 #define HAVE_SSCANF 1
       
   131 #define HAVE_SNPRINTF 1
       
   132 #define HAVE_VSNPRINTF 1
       
   133 /* #undef HAVE_ICONV */
       
   134 /* #undef HAVE_SIGACTION */
       
   135 /* #undef HAVE_SETJMP */
       
   136 /* #undef HAVE_NANOSLEEP */
       
   137 /* #undef HAVE_CLOCK_GETTIME */
       
   138 /* #undef HAVE_GETPAGESIZE */
       
   139 /* #undef HAVE_MPROTECT */
       
   140 
       
   141 #else
       
   142 /* We may need some replacement for stdarg.h here */
       
   143 #include <stdarg.h>
       
   144 #endif /* HAVE_LIBC */
       
   145 
       
   146 /* Allow disabling of core subsystems */
       
   147 /* #undef SDL_AUDIO_DISABLED */
       
   148 /* #undef SDL_CDROM_DISABLED */
       
   149 /* #undef SDL_CPUINFO_DISABLED */
       
   150 /* #undef SDL_EVENTS_DISABLED */
       
   151 /* #undef SDL_FILE_DISABLED */
       
   152 /* #undef SDL_JOYSTICK_DISABLED */
       
   153 /* #undef SDL_LOADSO_DISABLED */
       
   154 /* #undef SDL_THREADS_DISABLED */
       
   155 /* #undef SDL_TIMERS_DISABLED */
       
   156 /* #undef SDL_VIDEO_DISABLED */
       
   157 
       
   158 /* Enable various audio drivers */
       
   159 /* #undef SDL_AUDIO_DRIVER_ALSA */
       
   160 /* #undef SDL_AUDIO_DRIVER_ALSA_DYNAMIC */
       
   161 /* #undef SDL_AUDIO_DRIVER_ARTS */
       
   162 /* #undef SDL_AUDIO_DRIVER_ARTS_DYNAMIC */
       
   163 /* #undef SDL_AUDIO_DRIVER_BAUDIO */
       
   164 /* #undef SDL_AUDIO_DRIVER_BSD */
       
   165 /* #undef SDL_AUDIO_DRIVER_COREAUDIO */
       
   166 /* #undef SDL_AUDIO_DRIVER_DART */
       
   167 /* #undef SDL_AUDIO_DRIVER_DC */
       
   168 #define SDL_AUDIO_DRIVER_DISK 1
       
   169 #define SDL_AUDIO_DRIVER_DUMMY 1
       
   170 /* #undef SDL_AUDIO_DRIVER_DMEDIA */
       
   171 #define SDL_AUDIO_DRIVER_DSOUND 1
       
   172 /* #undef SDL_AUDIO_DRIVER_PULSE */
       
   173 /* #undef SDL_AUDIO_DRIVER_PULSE_DYNAMIC */
       
   174 /* #undef SDL_AUDIO_DRIVER_ESD */
       
   175 /* #undef SDL_AUDIO_DRIVER_ESD_DYNAMIC */
       
   176 /* #undef SDL_AUDIO_DRIVER_MINT */
       
   177 /* #undef SDL_AUDIO_DRIVER_MMEAUDIO */
       
   178 /* #undef SDL_AUDIO_DRIVER_NAS */
       
   179 /* #undef SDL_AUDIO_DRIVER_NAS_DYNAMIC */
       
   180 /* #undef SDL_AUDIO_DRIVER_OSS */
       
   181 /* #undef SDL_AUDIO_DRIVER_OSS_SOUNDCARD_H */
       
   182 /* #undef SDL_AUDIO_DRIVER_PAUD */
       
   183 /* #undef SDL_AUDIO_DRIVER_QNXNTO */
       
   184 /* #undef SDL_AUDIO_DRIVER_SNDMGR */
       
   185 /* #undef SDL_AUDIO_DRIVER_SUNAUDIO */
       
   186 #define SDL_AUDIO_DRIVER_WAVEOUT 1
       
   187 
       
   188 /* Enable various cdrom drivers */
       
   189 /* #undef SDL_CDROM_AIX */
       
   190 /* #undef SDL_CDROM_BEOS */
       
   191 /* #undef SDL_CDROM_BSDI */
       
   192 /* #undef SDL_CDROM_DC */
       
   193 /* #undef SDL_CDROM_DUMMY */
       
   194 /* #undef SDL_CDROM_FREEBSD */
       
   195 /* #undef SDL_CDROM_LINUX */
       
   196 /* #undef SDL_CDROM_MACOS */
       
   197 /* #undef SDL_CDROM_MACOSX */
       
   198 /* #undef SDL_CDROM_MINT */
       
   199 /* #undef SDL_CDROM_OPENBSD */
       
   200 /* #undef SDL_CDROM_OS2 */
       
   201 /* #undef SDL_CDROM_OSF */
       
   202 /* #undef SDL_CDROM_QNX */
       
   203 #define SDL_CDROM_WIN32 1
       
   204 
       
   205 /* Enable various input drivers */
       
   206 /* #undef SDL_INPUT_LINUXEV */
       
   207 /* #undef SDL_INPUT_TSLIB */
       
   208 /* #undef SDL_JOYSTICK_BEOS */
       
   209 /* #undef SDL_JOYSTICK_DC */
       
   210 /* #undef SDL_JOYSTICK_DUMMY */
       
   211 /* #undef SDL_JOYSTICK_IOKIT */
       
   212 /* #undef SDL_JOYSTICK_LINUX */
       
   213 /* #undef SDL_JOYSTICK_MACOS */
       
   214 /* #undef SDL_JOYSTICK_MINT */
       
   215 /* #undef SDL_JOYSTICK_OS2 */
       
   216 /* #undef SDL_JOYSTICK_RISCOS */
       
   217 #define SDL_JOYSTICK_WINMM 1
       
   218 /* #undef SDL_JOYSTICK_USBHID */
       
   219 /* #undef SDL_JOYSTICK_USBHID_MACHINE_JOYSTICK_H */
       
   220 
       
   221 /* Enable various shared object loading systems */
       
   222 /* #undef SDL_LOADSO_BEOS */
       
   223 /* #undef SDL_LOADSO_DLCOMPAT */
       
   224 /* #undef SDL_LOADSO_DLOPEN */
       
   225 /* #undef SDL_LOADSO_DUMMY */
       
   226 /* #undef SDL_LOADSO_LDG */
       
   227 /* #undef SDL_LOADSO_MACOS */
       
   228 /* #undef SDL_LOADSO_OS2 */
       
   229 #define SDL_LOADSO_WIN32 1
       
   230 
       
   231 /* Enable various threading systems */
       
   232 /* #undef SDL_THREAD_BEOS */
       
   233 /* #undef SDL_THREAD_DC */
       
   234 /* #undef SDL_THREAD_OS2 */
       
   235 /* #undef SDL_THREAD_PTH */
       
   236 /* #undef SDL_THREAD_PTHREAD */
       
   237 /* #undef SDL_THREAD_PTHREAD_RECURSIVE_MUTEX */
       
   238 /* #undef SDL_THREAD_PTHREAD_RECURSIVE_MUTEX_NP */
       
   239 /* #undef SDL_THREAD_SPROC */
       
   240 #define SDL_THREAD_WIN32 1
       
   241 
       
   242 /* Enable various timer systems */
       
   243 /* #undef SDL_TIMER_BEOS */
       
   244 /* #undef SDL_TIMER_DC */
       
   245 /* #undef SDL_TIMER_DUMMY */
       
   246 /* #undef SDL_TIMER_MACOS */
       
   247 /* #undef SDL_TIMER_MINT */
       
   248 /* #undef SDL_TIMER_OS2 */
       
   249 /* #undef SDL_TIMER_RISCOS */
       
   250 /* #undef SDL_TIMER_UNIX */
       
   251 #define SDL_TIMER_WIN32 1
       
   252 /* #undef SDL_TIMER_WINCE */
       
   253 
       
   254 /* Enable various video drivers */
       
   255 /* #undef SDL_VIDEO_DRIVER_AALIB */
       
   256 /* #undef SDL_VIDEO_DRIVER_BWINDOW */
       
   257 /* #undef SDL_VIDEO_DRIVER_CACA */
       
   258 /* #undef SDL_VIDEO_DRIVER_DC */
       
   259 #define SDL_VIDEO_DRIVER_DDRAW 1
       
   260 /* #undef SDL_VIDEO_DRIVER_DGA */
       
   261 /* #undef SDL_VIDEO_DRIVER_DIRECTFB */
       
   262 /* #undef SDL_VIDEO_DRIVER_DRAWSPROCKET */
       
   263 #define SDL_VIDEO_DRIVER_DUMMY 1
       
   264 /* #undef SDL_VIDEO_DRIVER_FBCON */
       
   265 /* #undef SDL_VIDEO_DRIVER_GAPI */
       
   266 /* #undef SDL_VIDEO_DRIVER_GEM */
       
   267 /* #undef SDL_VIDEO_DRIVER_GGI */
       
   268 /* #undef SDL_VIDEO_DRIVER_IPOD */
       
   269 /* #undef SDL_VIDEO_DRIVER_NANOX */
       
   270 /* #undef SDL_VIDEO_DRIVER_OS2FS */
       
   271 /* #undef SDL_VIDEO_DRIVER_PHOTON */
       
   272 /* #undef SDL_VIDEO_DRIVER_PICOGUI */
       
   273 /* #undef SDL_VIDEO_DRIVER_PS2GS */
       
   274 /* #undef SDL_VIDEO_DRIVER_PS3 */
       
   275 /* #undef SDL_VIDEO_DRIVER_QTOPIA */
       
   276 /* #undef SDL_VIDEO_DRIVER_QUARTZ */
       
   277 /* #undef SDL_VIDEO_DRIVER_RISCOS */
       
   278 /* #undef SDL_VIDEO_DRIVER_SVGALIB */
       
   279 /* #undef SDL_VIDEO_DRIVER_TOOLBOX */
       
   280 /* #undef SDL_VIDEO_DRIVER_VGL */
       
   281 #define SDL_VIDEO_DRIVER_WINDIB 1
       
   282 /* #undef SDL_VIDEO_DRIVER_WSCONS */
       
   283 /* #undef SDL_VIDEO_DRIVER_X11 */
       
   284 /* #undef SDL_VIDEO_DRIVER_X11_DGAMOUSE */
       
   285 /* #undef SDL_VIDEO_DRIVER_X11_DYNAMIC */
       
   286 /* #undef SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT */
       
   287 /* #undef SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR */
       
   288 /* #undef SDL_VIDEO_DRIVER_X11_DYNAMIC_XRENDER */
       
   289 /* #undef SDL_VIDEO_DRIVER_X11_VIDMODE */
       
   290 /* #undef SDL_VIDEO_DRIVER_X11_XINERAMA */
       
   291 /* #undef SDL_VIDEO_DRIVER_X11_XME */
       
   292 /* #undef SDL_VIDEO_DRIVER_X11_XRANDR */
       
   293 /* #undef SDL_VIDEO_DRIVER_X11_XV */
       
   294 /* #undef SDL_VIDEO_DRIVER_XBIOS */
       
   295 
       
   296 /* Enable OpenGL support */
       
   297 #define SDL_VIDEO_OPENGL 1
       
   298 /* #undef SDL_VIDEO_OPENGL_GLX */
       
   299 #define SDL_VIDEO_OPENGL_WGL 1
       
   300 /* #undef SDL_VIDEO_OPENGL_OSMESA */
       
   301 /* #undef SDL_VIDEO_OPENGL_OSMESA_DYNAMIC */
       
   302 
       
   303 /* Disable screensaver */
       
   304 #define SDL_VIDEO_DISABLE_SCREENSAVER 1
       
   305 
       
   306 /* Enable assembly routines */
       
   307 #define SDL_ASSEMBLY_ROUTINES 1
       
   308 #define SDL_HERMES_BLITTERS 1
       
   309 /* #undef SDL_ALTIVEC_BLITTERS */
       
   310 
       
   311 #endif /* _SDL_config_h */