Mercurial > sdl-ios-xcode
comparison include/SDL_config.h @ 1336:3692456e7b0f
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...
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 07 Feb 2006 06:59:48 +0000 |
parents | 1cbaeee565b1 |
children | d02b552e5304 |
comparison
equal
deleted
inserted
replaced
1335:c39265384763 | 1336:3692456e7b0f |
---|---|
52 #define HAVE_SIGNAL_H | 52 #define HAVE_SIGNAL_H |
53 #endif | 53 #endif |
54 #endif /* !_WIN32_WCE */ | 54 #endif /* !_WIN32_WCE */ |
55 | 55 |
56 /* Features provided by SDL_stdlib.h */ | 56 /* Features provided by SDL_stdlib.h */ |
57 #if !defined(_WIN32) /* Don't use C runtime versions of these on Windows */ | |
58 #define HAVE_GETENV | |
59 #define HAVE_PUTENV | |
60 #endif | |
61 #define HAVE_MALLOC | 57 #define HAVE_MALLOC |
62 #define HAVE_REALLOC | 58 #define HAVE_REALLOC |
63 #define HAVE_FREE | 59 #define HAVE_FREE |
64 #ifndef HAVE_ALLOCA | 60 #ifndef HAVE_ALLOCA |
65 #define HAVE_ALLOCA | 61 #define HAVE_ALLOCA |
62 #endif | |
63 #if !defined(_WIN32) /* Don't use C runtime versions of these on Windows */ | |
64 #define HAVE_GETENV | |
65 #define HAVE_PUTENV | |
66 #endif | 66 #endif |
67 /*#define HAVE_QSORT*/ | 67 /*#define HAVE_QSORT*/ |
68 | 68 |
69 /* Features provided by SDL_string.h */ | 69 /* Features provided by SDL_string.h */ |
70 #define HAVE_MEMSET | 70 #define HAVE_MEMSET |
72 #define HAVE_MEMMOVE | 72 #define HAVE_MEMMOVE |
73 #define HAVE_MEMCMP | 73 #define HAVE_MEMCMP |
74 #define HAVE_STRLEN | 74 #define HAVE_STRLEN |
75 #define HAVE_STRCPY | 75 #define HAVE_STRCPY |
76 #define HAVE_STRNCPY | 76 #define HAVE_STRNCPY |
77 #define HAVE_STRCAT | |
78 #define HAVE_STRNCAT | |
77 /*#define HAVE__STRREV*/ | 79 /*#define HAVE__STRREV*/ |
78 /*#define HAVE__STRUPR*/ | 80 /*#define HAVE__STRUPR*/ |
79 /*#define HAVE__STRLWR*/ | 81 /*#define HAVE__STRLWR*/ |
80 #define HAVE_STRCHR | 82 #define HAVE_STRCHR |
81 #define HAVE_STRRCHR | 83 #define HAVE_STRRCHR |
92 #define HAVE_STRNCMP | 94 #define HAVE_STRNCMP |
93 /*#define HAVE_STRICMP*/ | 95 /*#define HAVE_STRICMP*/ |
94 /*#define HAVE_STRCASECMP*/ | 96 /*#define HAVE_STRCASECMP*/ |
95 #define HAVE_SSCANF | 97 #define HAVE_SSCANF |
96 /*#define HAVE_SNPRINTF*/ | 98 /*#define HAVE_SNPRINTF*/ |
97 #define HAVE_VSNPRINTF | 99 /*#define HAVE_VSNPRINTF*/ |
98 | 100 |
99 #endif /* HAVE_LIBC */ | 101 #endif /* HAVE_LIBC */ |
100 | 102 |
101 #endif /* _SDL_config_h */ | 103 #endif /* _SDL_config_h */ |