include/SDL_config_win32.h
author Sam Lantinga <slouken@libsdl.org>
Fri, 24 Feb 2006 08:17:28 +0000
changeset 1423 4ed717f9e509
parent 1422 d2ee8da60262
child 1428 5f52867ba65c
permissions -rw-r--r--
Updated for Visual Studio Express 2005
     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 #ifdef _MSC_VER
    29 typedef __int8			int8_t;
    30 typedef unsigned __int8		uint8_t;
    31 typedef __int16			int16_t;
    32 typedef unsigned __int16	uint16_t;
    33 typedef __int32			int32_t;
    34 typedef unsigned __int32	uint32_t;
    35 typedef __int64			int64_t;
    36 typedef unsigned __int64	uint64_t;
    37 #endif
    38 #define SDL_HAS_64BIT_TYPE	1
    39 
    40 /* Useful headers */
    41 #define HAVE_STDARG_H	1
    42 #define HAVE_STDDEF_H	1
    43 
    44 /* Enable various audio drivers */
    45 #ifndef _WIN32_WCE
    46 #define SDL_AUDIO_DRIVER_DSOUND	1
    47 #endif
    48 #define SDL_AUDIO_DRIVER_WAVEOUT	1
    49 
    50 /* Enable various cdrom drivers */
    51 #define SDL_CDROM_WIN32	1
    52 
    53 /* Enable various input drivers */
    54 #define SDL_JOYSTICK_WINMM	1
    55 
    56 /* Enable various shared object loading systems */
    57 #define SDL_LOADSO_WIN32	1
    58 
    59 /* Enable various threading systems */
    60 #define SDL_THREAD_WIN32	1
    61 
    62 /* Enable various timer systems */
    63 #ifdef _WIN32_WCE
    64 #define SDL_TIMER_WINCE	1
    65 #else
    66 #define SDL_TIMER_WIN32	1
    67 #endif
    68 
    69 /* Enable various video drivers */
    70 #ifndef _WIN32_WCE
    71 #define SDL_VIDEO_DRIVER_DDRAW	1
    72 #endif
    73 #ifdef _WIN32_WCE
    74 #define SDL_VIDEO_DRIVER_GAPI	1
    75 #endif
    76 #define SDL_VIDEO_DRIVER_WINDIB	1
    77 
    78 /* Enable OpenGL support */
    79 #define SDL_VIDEO_OPENGL	1
    80 #define SDL_VIDEO_OPENGL_WGL	1
    81 
    82 /* Enable assembly routines */
    83 #define SDL_ASSEMBLY_ROUTINES	1
    84 
    85 #endif /* _SDL_config_win32_h */