# HG changeset patch # User Sam Lantinga # Date 1140800586 0 # Node ID 5f5a74d29d1850481c259cc88007794098a3966a # Parent ef9a9064bff2956c7afaac004d010be0ebcd0aee Updated with MrC includes and function definitions diff -r ef9a9064bff2 -r 5f5a74d29d18 include/SDL_config_macos.h --- a/include/SDL_config_macos.h Fri Feb 24 10:23:49 2006 +0000 +++ b/include/SDL_config_macos.h Fri Feb 24 17:03:06 2006 +0000 @@ -36,6 +36,8 @@ #define HAVE_STDIO_H 1 #define STDC_HEADERS 1 #define HAVE_STRING_H 1 +#define HAVE_CTYPE_H 1 +#define HAVE_MATH_H 1 #define HAVE_SIGNAL_H 1 /* C library functions */ @@ -44,10 +46,25 @@ #define HAVE_REALLOC 1 #define HAVE_FREE 1 #define HAVE_ALLOCA 1 +#define HAVE_ABS 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_MEMCMP 1 +#define HAVE_STRLEN 1 +#define HAVE_STRCHR 1 +#define HAVE_STRRCHR 1 +#define HAVE_STRSTR 1 +#define HAVE_ITOA 1 +#define HAVE_STRTOL 1 +#define HAVE_STRTOD 1 +#define HAVE_ATOI 1 +#define HAVE_ATOF 1 +#define HAVE_STRCMP 1 +#define HAVE_STRNCMP 1 +#define HAVE_STRICMP 1 +#define HAVE_STRCASECMP 1 +#define HAVE_SSCANF 1 /* Enable various audio drivers */ #define SDL_AUDIO_DRIVER_SNDMGR 1 diff -r ef9a9064bff2 -r 5f5a74d29d18 src/main/macos/exports/SDL.x --- a/src/main/macos/exports/SDL.x Fri Feb 24 10:23:49 2006 +0000 +++ b/src/main/macos/exports/SDL.x Fri Feb 24 17:03:06 2006 +0000 @@ -191,24 +191,14 @@ SDL_getenv SDL_qsort SDL_revcpy - SDL_strlen SDL_strlcpy SDL_strlcat SDL_strdup SDL_strrev SDL_strupr SDL_strlwr - SDL_strchr - SDL_strrchr - SDL_strstr SDL_ltoa SDL_ultoa - SDL_strtol - SDL_strtod - SDL_strcmp - SDL_strncmp - SDL_strcasecmp - SDL_sscanf SDL_snprintf SDL_vsnprintf SDL_InitQuickDraw diff -r ef9a9064bff2 -r 5f5a74d29d18 src/main/macos/exports/gendef.pl --- a/src/main/macos/exports/gendef.pl Fri Feb 24 10:23:49 2006 +0000 +++ b/src/main/macos/exports/gendef.pl Fri Feb 24 17:03:06 2006 +0000 @@ -27,24 +27,14 @@ print "\tSDL_getenv\n"; print "\tSDL_qsort\n"; print "\tSDL_revcpy\n"; -print "\tSDL_strlen\n"; print "\tSDL_strlcpy\n"; print "\tSDL_strlcat\n"; print "\tSDL_strdup\n"; print "\tSDL_strrev\n"; print "\tSDL_strupr\n"; print "\tSDL_strlwr\n"; -print "\tSDL_strchr\n"; -print "\tSDL_strrchr\n"; -print "\tSDL_strstr\n"; print "\tSDL_ltoa\n"; print "\tSDL_ultoa\n"; -print "\tSDL_strtol\n"; -print "\tSDL_strtod\n"; -print "\tSDL_strcmp\n"; -print "\tSDL_strncmp\n"; -print "\tSDL_strcasecmp\n"; -print "\tSDL_sscanf\n"; print "\tSDL_snprintf\n"; print "\tSDL_vsnprintf\n"; print "\tSDL_InitQuickDraw\n";