include/SDL_config_macos.h
branchSDL-1.3
changeset 1659 14717b52abc0
parent 1658 e49147870aac
child 1662 782fd950bd46
equal deleted inserted replaced
1658:e49147870aac 1659:14717b52abc0
    25 
    25 
    26 #include "SDL_platform.h"
    26 #include "SDL_platform.h"
    27 
    27 
    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 typedef signed char	int8_t;
    30 #include <MacTypes.h>
    31 typedef unsigned char	uint8_t;
    31 
    32 typedef signed short	int16_t;
    32 typedef SInt8	int8_t;
    33 typedef unsigned short	uint16_t;
    33 typedef UInt8	uint8_t;
    34 typedef signed long	int32_t;
    34 typedef SInt16	int16_t;
    35 typedef unsigned long	uint32_t;
    35 typedef UInt16	uint16_t;
       
    36 typedef SInt32	int32_t;
       
    37 typedef UInt32	uint32_t;
       
    38 typedef SInt64	int64_t;
       
    39 typedef UInt64	uint64_t;
    36 typedef unsigned long	uintptr_t;
    40 typedef unsigned long	uintptr_t;
       
    41 
       
    42 #define SDL_HAS_64BIT_TYPE	1
    37 
    43 
    38 /* Useful headers */
    44 /* Useful headers */
    39 #define HAVE_STDIO_H	1
    45 #define HAVE_STDIO_H	1
    40 #define STDC_HEADERS	1
    46 #define STDC_HEADERS	1
    41 #define HAVE_STRING_H	1
    47 #define HAVE_STRING_H	1
    71 #define SDL_AUDIO_DRIVER_SNDMGR	1
    77 #define SDL_AUDIO_DRIVER_SNDMGR	1
    72 #define SDL_AUDIO_DRIVER_DISK	1
    78 #define SDL_AUDIO_DRIVER_DISK	1
    73 #define SDL_AUDIO_DRIVER_DUMMY	1
    79 #define SDL_AUDIO_DRIVER_DUMMY	1
    74 
    80 
    75 /* Enable various cdrom drivers */
    81 /* Enable various cdrom drivers */
    76 #define SDL_CDROM_MACOS	1
    82 #if TARGET_API_MAC_CARBON
       
    83 #define SDL_CDROM_DUMMY		1
       
    84 #else
       
    85 #define SDL_CDROM_MACOS		1
       
    86 #endif
    77 
    87 
    78 /* Enable various input drivers */
    88 /* Enable various input drivers */
       
    89 #if TARGET_API_MAC_CARBON
       
    90 #define SDL_JOYSTICK_DUMMY	1
       
    91 #else
    79 #define SDL_JOYSTICK_MACOS	1
    92 #define SDL_JOYSTICK_MACOS	1
       
    93 #endif
    80 
    94 
    81 /* Enable various shared object loading systems */
    95 /* Enable various shared object loading systems */
    82 #define SDL_LOADSO_MACOS	1
    96 #define SDL_LOADSO_MACOS	1
    83 
    97 
    84 /* Enable various threading systems */
    98 /* Enable various threading systems */