Use SDL_ prefixed versions of C library functions.
FIXME: Change #include <stdlib.h> to #include "SDL_stdlib.h" Change #include <string.h> to #include "SDL_string.h" Make sure nothing else broke because of this... --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401340
This commit is contained in:
parent
00f6d8e5e3
commit
5d53175e4d
212 changed files with 1840 additions and 1884 deletions
|
@ -54,16 +54,16 @@
|
|||
#endif /* !_WIN32_WCE */
|
||||
|
||||
/* Features provided by SDL_stdlib.h */
|
||||
#if !defined(_WIN32) /* Don't use C runtime versions of these on Windows */
|
||||
#define HAVE_GETENV
|
||||
#define HAVE_PUTENV
|
||||
#endif
|
||||
#define HAVE_MALLOC
|
||||
#define HAVE_REALLOC
|
||||
#define HAVE_FREE
|
||||
#ifndef HAVE_ALLOCA
|
||||
#define HAVE_ALLOCA
|
||||
#endif
|
||||
#if !defined(_WIN32) /* Don't use C runtime versions of these on Windows */
|
||||
#define HAVE_GETENV
|
||||
#define HAVE_PUTENV
|
||||
#endif
|
||||
/*#define HAVE_QSORT*/
|
||||
|
||||
/* Features provided by SDL_string.h */
|
||||
|
@ -74,6 +74,8 @@
|
|||
#define HAVE_STRLEN
|
||||
#define HAVE_STRCPY
|
||||
#define HAVE_STRNCPY
|
||||
#define HAVE_STRCAT
|
||||
#define HAVE_STRNCAT
|
||||
/*#define HAVE__STRREV*/
|
||||
/*#define HAVE__STRUPR*/
|
||||
/*#define HAVE__STRLWR*/
|
||||
|
@ -94,7 +96,7 @@
|
|||
/*#define HAVE_STRCASECMP*/
|
||||
#define HAVE_SSCANF
|
||||
/*#define HAVE_SNPRINTF*/
|
||||
#define HAVE_VSNPRINTF
|
||||
/*#define HAVE_VSNPRINTF*/
|
||||
|
||||
#endif /* HAVE_LIBC */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue