include/SDL_config_macos.h
branchSDL-1.3
changeset 1659 14717b52abc0
parent 1658 e49147870aac
child 1662 782fd950bd46
--- a/include/SDL_config_macos.h	Mon May 01 06:58:33 2006 +0000
+++ b/include/SDL_config_macos.h	Wed May 17 08:18:28 2006 +0000
@@ -27,14 +27,20 @@
 
 /* This is a set of defines to configure the SDL features */
 
-typedef signed char	int8_t;
-typedef unsigned char	uint8_t;
-typedef signed short	int16_t;
-typedef unsigned short	uint16_t;
-typedef signed long	int32_t;
-typedef unsigned long	uint32_t;
+#include <MacTypes.h>
+
+typedef SInt8	int8_t;
+typedef UInt8	uint8_t;
+typedef SInt16	int16_t;
+typedef UInt16	uint16_t;
+typedef SInt32	int32_t;
+typedef UInt32	uint32_t;
+typedef SInt64	int64_t;
+typedef UInt64	uint64_t;
 typedef unsigned long	uintptr_t;
 
+#define SDL_HAS_64BIT_TYPE	1
+
 /* Useful headers */
 #define HAVE_STDIO_H	1
 #define STDC_HEADERS	1
@@ -73,10 +79,18 @@
 #define SDL_AUDIO_DRIVER_DUMMY	1
 
 /* Enable various cdrom drivers */
-#define SDL_CDROM_MACOS	1
+#if TARGET_API_MAC_CARBON
+#define SDL_CDROM_DUMMY		1
+#else
+#define SDL_CDROM_MACOS		1
+#endif
 
 /* Enable various input drivers */
+#if TARGET_API_MAC_CARBON
+#define SDL_JOYSTICK_DUMMY	1
+#else
 #define SDL_JOYSTICK_MACOS	1
+#endif
 
 /* Enable various shared object loading systems */
 #define SDL_LOADSO_MACOS	1