19682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall/*
29682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    SDL - Simple DirectMedia Layer
39682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    Copyright (C) 1997-2012 Sam Lantinga
49682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
59682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    This library is free software; you can redistribute it and/or
69682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    modify it under the terms of the GNU Lesser General Public
79682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    License as published by the Free Software Foundation; either
89682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    version 2.1 of the License, or (at your option) any later version.
99682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
109682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    This library is distributed in the hope that it will be useful,
119682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    but WITHOUT ANY WARRANTY; without even the implied warranty of
129682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
139682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    Lesser General Public License for more details.
149682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
159682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    You should have received a copy of the GNU Lesser General Public
169682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    License along with this library; if not, write to the Free Software
179682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
189682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
199682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    Sam Lantinga
209682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    slouken@libsdl.org
219682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall*/
229682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
239682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#ifndef _SDL_config_macos_h
249682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define _SDL_config_macos_h
259682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
269682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#include "SDL_platform.h"
279682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
289682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall/* This is a set of defines to configure the SDL features */
299682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
309682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#include <MacTypes.h>
319682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
329682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Halltypedef SInt8	int8_t;
339682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Halltypedef UInt8	uint8_t;
349682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Halltypedef SInt16	int16_t;
359682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Halltypedef UInt16	uint16_t;
369682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Halltypedef SInt32	int32_t;
379682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Halltypedef UInt32	uint32_t;
389682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Halltypedef SInt64	int64_t;
399682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Halltypedef UInt64	uint64_t;
409682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Halltypedef unsigned long	uintptr_t;
419682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
429682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define SDL_HAS_64BIT_TYPE	1
439682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
449682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall/* Useful headers */
459682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_STDIO_H	1
469682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define STDC_HEADERS	1
479682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_STRING_H	1
489682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_CTYPE_H	1
499682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_MATH_H	1
509682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_SIGNAL_H	1
519682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
529682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall/* C library functions */
539682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_MALLOC	1
549682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_CALLOC	1
559682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_REALLOC	1
569682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_FREE	1
579682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_ALLOCA	1
589682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_ABS	1
599682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_MEMSET	1
609682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_MEMCPY	1
619682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_MEMMOVE	1
629682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_MEMCMP	1
639682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_STRLEN	1
649682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_STRCHR	1
659682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_STRRCHR	1
669682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_STRSTR	1
679682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_ITOA	1
689682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_STRTOL	1
699682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_STRTOD	1
709682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_ATOI	1
719682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_ATOF	1
729682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_STRCMP	1
739682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_STRNCMP	1
749682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_SSCANF	1
759682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
769682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall/* Enable various audio drivers */
779682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define SDL_AUDIO_DRIVER_SNDMGR	1
789682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define SDL_AUDIO_DRIVER_DISK	1
799682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define SDL_AUDIO_DRIVER_DUMMY	1
809682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
819682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall/* Enable various cdrom drivers */
829682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#if TARGET_API_MAC_CARBON
839682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define SDL_CDROM_DUMMY		1
849682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#else
859682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define SDL_CDROM_MACOS		1
869682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#endif
879682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
889682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall/* Enable various input drivers */
899682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#if TARGET_API_MAC_CARBON
909682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define SDL_JOYSTICK_DUMMY	1
919682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#else
929682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define SDL_JOYSTICK_MACOS	1
939682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#endif
949682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
959682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall/* Enable various shared object loading systems */
969682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define SDL_LOADSO_MACOS	1
979682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
989682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall/* Enable various threading systems */
999682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define SDL_THREADS_DISABLED	1
1009682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
1019682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall/* Enable various timer systems */
1029682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define SDL_TIMER_MACOS	1
1039682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
1049682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall/* Enable various video drivers */
1059682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define SDL_VIDEO_DRIVER_DUMMY	1
1069682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define SDL_VIDEO_DRIVER_DRAWSPROCKET	1
1079682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define SDL_VIDEO_DRIVER_TOOLBOX	1
1089682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
1099682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall/* Enable OpenGL support */
1109682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define SDL_VIDEO_OPENGL	1
1119682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
1129682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#endif /* _SDL_config_macos_h */
113