Updated with MrC includes and function definitions
authorSam Lantinga <slouken@libsdl.org>
Fri, 24 Feb 2006 17:03:06 +0000
changeset 14275f5a74d29d18
parent 1426 ef9a9064bff2
child 1428 5f52867ba65c
Updated with MrC includes and function definitions
include/SDL_config_macos.h
src/main/macos/exports/SDL.x
src/main/macos/exports/gendef.pl
     1.1 --- a/include/SDL_config_macos.h	Fri Feb 24 10:23:49 2006 +0000
     1.2 +++ b/include/SDL_config_macos.h	Fri Feb 24 17:03:06 2006 +0000
     1.3 @@ -36,6 +36,8 @@
     1.4  #define HAVE_STDIO_H	1
     1.5  #define STDC_HEADERS	1
     1.6  #define HAVE_STRING_H	1
     1.7 +#define HAVE_CTYPE_H	1
     1.8 +#define HAVE_MATH_H	1
     1.9  #define HAVE_SIGNAL_H	1
    1.10  
    1.11  /* C library functions */
    1.12 @@ -44,10 +46,25 @@
    1.13  #define HAVE_REALLOC	1
    1.14  #define HAVE_FREE	1
    1.15  #define HAVE_ALLOCA	1
    1.16 +#define HAVE_ABS	1
    1.17  #define HAVE_MEMSET	1
    1.18  #define HAVE_MEMCPY	1
    1.19  #define HAVE_MEMMOVE	1
    1.20  #define HAVE_MEMCMP	1
    1.21 +#define HAVE_STRLEN	1
    1.22 +#define HAVE_STRCHR	1
    1.23 +#define HAVE_STRRCHR	1
    1.24 +#define HAVE_STRSTR	1
    1.25 +#define HAVE_ITOA	1
    1.26 +#define HAVE_STRTOL	1
    1.27 +#define HAVE_STRTOD	1
    1.28 +#define HAVE_ATOI	1
    1.29 +#define HAVE_ATOF	1
    1.30 +#define HAVE_STRCMP	1
    1.31 +#define HAVE_STRNCMP	1
    1.32 +#define HAVE_STRICMP	1
    1.33 +#define HAVE_STRCASECMP	1
    1.34 +#define HAVE_SSCANF	1
    1.35  
    1.36  /* Enable various audio drivers */
    1.37  #define SDL_AUDIO_DRIVER_SNDMGR	1
     2.1 --- a/src/main/macos/exports/SDL.x	Fri Feb 24 10:23:49 2006 +0000
     2.2 +++ b/src/main/macos/exports/SDL.x	Fri Feb 24 17:03:06 2006 +0000
     2.3 @@ -191,24 +191,14 @@
     2.4  	SDL_getenv
     2.5  	SDL_qsort
     2.6  	SDL_revcpy
     2.7 -	SDL_strlen
     2.8  	SDL_strlcpy
     2.9  	SDL_strlcat
    2.10  	SDL_strdup
    2.11  	SDL_strrev
    2.12  	SDL_strupr
    2.13  	SDL_strlwr
    2.14 -	SDL_strchr
    2.15 -	SDL_strrchr
    2.16 -	SDL_strstr
    2.17  	SDL_ltoa
    2.18  	SDL_ultoa
    2.19 -	SDL_strtol
    2.20 -	SDL_strtod
    2.21 -	SDL_strcmp
    2.22 -	SDL_strncmp
    2.23 -	SDL_strcasecmp
    2.24 -	SDL_sscanf
    2.25  	SDL_snprintf
    2.26  	SDL_vsnprintf
    2.27  	SDL_InitQuickDraw
     3.1 --- a/src/main/macos/exports/gendef.pl	Fri Feb 24 10:23:49 2006 +0000
     3.2 +++ b/src/main/macos/exports/gendef.pl	Fri Feb 24 17:03:06 2006 +0000
     3.3 @@ -27,24 +27,14 @@
     3.4  print "\tSDL_getenv\n";
     3.5  print "\tSDL_qsort\n";
     3.6  print "\tSDL_revcpy\n";
     3.7 -print "\tSDL_strlen\n";
     3.8  print "\tSDL_strlcpy\n";
     3.9  print "\tSDL_strlcat\n";
    3.10  print "\tSDL_strdup\n";
    3.11  print "\tSDL_strrev\n";
    3.12  print "\tSDL_strupr\n";
    3.13  print "\tSDL_strlwr\n";
    3.14 -print "\tSDL_strchr\n";
    3.15 -print "\tSDL_strrchr\n";
    3.16 -print "\tSDL_strstr\n";
    3.17  print "\tSDL_ltoa\n";
    3.18  print "\tSDL_ultoa\n";
    3.19 -print "\tSDL_strtol\n";
    3.20 -print "\tSDL_strtod\n";
    3.21 -print "\tSDL_strcmp\n";
    3.22 -print "\tSDL_strncmp\n";
    3.23 -print "\tSDL_strcasecmp\n";
    3.24 -print "\tSDL_sscanf\n";
    3.25  print "\tSDL_snprintf\n";
    3.26  print "\tSDL_vsnprintf\n";
    3.27  print "\tSDL_InitQuickDraw\n";