include/SDL_config_win32.h
author Sam Lantinga <slouken@libsdl.org>
Fri, 24 Feb 2006 07:26:31 +0000
changeset 1422 d2ee8da60262
child 1423 4ed717f9e509
permissions -rw-r--r--
Added pre-configured versions of SDL_config.h for various platforms
     1 /*
     2     SDL - Simple DirectMedia Layer
     3     Copyright (C) 1997-2006 Sam Lantinga
     4 
     5     This library is free software; you can redistribute it and/or
     6     modify it under the terms of the GNU Lesser General Public
     7     License as published by the Free Software Foundation; either
     8     version 2.1 of the License, or (at your option) any later version.
     9 
    10     This library is distributed in the hope that it will be useful,
    11     but WITHOUT ANY WARRANTY; without even the implied warranty of
    12     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    13     Lesser General Public License for more details.
    14 
    15     You should have received a copy of the GNU Lesser General Public
    16     License along with this library; if not, write to the Free Software
    17     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
    18 
    19     Sam Lantinga
    20     slouken@libsdl.org
    21 */
    22 
    23 #ifndef _SDL_config_win32_h
    24 #define _SDL_config_win32_h
    25 
    26 /* This is a set of defines to configure the SDL features */
    27 
    28 #define SDL_HAS_64BIT_TYPE	1
    29 
    30 /* Useful headers */
    31 #define HAVE_STDARG_H	1
    32 #define HAVE_STDDEF_H	1
    33 #define HAVE_INTTYPES_H	1
    34 
    35 /* Enable various audio drivers */
    36 #define SDL_AUDIO_DRIVER_DISK	1
    37 #ifndef _WIN32_WCE
    38 #define SDL_AUDIO_DRIVER_DSOUND	1
    39 #endif
    40 #define SDL_AUDIO_DRIVER_WAVEOUT	1
    41 
    42 /* Enable various cdrom drivers */
    43 #define SDL_CDROM_WIN32	1
    44 
    45 /* Enable various input drivers */
    46 #define SDL_JOYSTICK_WINMM	1
    47 
    48 /* Enable various shared object loading systems */
    49 #define SDL_LOADSO_WIN32	1
    50 
    51 /* Enable various threading systems */
    52 #define SDL_THREAD_WIN32	1
    53 
    54 /* Enable various timer systems */
    55 #ifdef _WIN32_WCE
    56 #define SDL_TIMER_WINCE	1
    57 #else
    58 #define SDL_TIMER_WIN32	1
    59 #endif
    60 
    61 /* Enable various video drivers */
    62 #ifndef _WIN32_WCE
    63 #define SDL_VIDEO_DRIVER_DDRAW	1
    64 #endif
    65 #define SDL_VIDEO_DRIVER_DUMMY	1
    66 #ifdef _WIN32_WCE
    67 #define SDL_VIDEO_DRIVER_GAPI	1
    68 #endif
    69 #define SDL_VIDEO_DRIVER_WINDIB	1
    70 
    71 /* Enable OpenGL support */
    72 #define SDL_VIDEO_OPENGL	1
    73 #define SDL_VIDEO_OPENGL_WGL	1
    74 
    75 /* Enable assembly routines */
    76 #define SDL_ASSEMBLY_ROUTINES	1
    77 
    78 #endif /* _SDL_config_win32_h */