include/SDL_config_macos.h
branchSDL-1.3
changeset 1659 14717b52abc0
parent 1658 e49147870aac
child 1662 782fd950bd46
     1.1 --- a/include/SDL_config_macos.h	Mon May 01 06:58:33 2006 +0000
     1.2 +++ b/include/SDL_config_macos.h	Wed May 17 08:18:28 2006 +0000
     1.3 @@ -27,14 +27,20 @@
     1.4  
     1.5  /* This is a set of defines to configure the SDL features */
     1.6  
     1.7 -typedef signed char	int8_t;
     1.8 -typedef unsigned char	uint8_t;
     1.9 -typedef signed short	int16_t;
    1.10 -typedef unsigned short	uint16_t;
    1.11 -typedef signed long	int32_t;
    1.12 -typedef unsigned long	uint32_t;
    1.13 +#include <MacTypes.h>
    1.14 +
    1.15 +typedef SInt8	int8_t;
    1.16 +typedef UInt8	uint8_t;
    1.17 +typedef SInt16	int16_t;
    1.18 +typedef UInt16	uint16_t;
    1.19 +typedef SInt32	int32_t;
    1.20 +typedef UInt32	uint32_t;
    1.21 +typedef SInt64	int64_t;
    1.22 +typedef UInt64	uint64_t;
    1.23  typedef unsigned long	uintptr_t;
    1.24  
    1.25 +#define SDL_HAS_64BIT_TYPE	1
    1.26 +
    1.27  /* Useful headers */
    1.28  #define HAVE_STDIO_H	1
    1.29  #define STDC_HEADERS	1
    1.30 @@ -73,10 +79,18 @@
    1.31  #define SDL_AUDIO_DRIVER_DUMMY	1
    1.32  
    1.33  /* Enable various cdrom drivers */
    1.34 -#define SDL_CDROM_MACOS	1
    1.35 +#if TARGET_API_MAC_CARBON
    1.36 +#define SDL_CDROM_DUMMY		1
    1.37 +#else
    1.38 +#define SDL_CDROM_MACOS		1
    1.39 +#endif
    1.40  
    1.41  /* Enable various input drivers */
    1.42 +#if TARGET_API_MAC_CARBON
    1.43 +#define SDL_JOYSTICK_DUMMY	1
    1.44 +#else
    1.45  #define SDL_JOYSTICK_MACOS	1
    1.46 +#endif
    1.47  
    1.48  /* Enable various shared object loading systems */
    1.49  #define SDL_LOADSO_MACOS	1