Mercurial > sdl-ios-xcode
comparison src/stdlib/SDL_malloc.c @ 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 | 39b0d60d3f50 |
children | 604d73db6802 |
comparison
equal
deleted
inserted
replaced
1335:c39265384763 | 1336:3692456e7b0f |
---|---|
37 #define LACKS_STRING_H | 37 #define LACKS_STRING_H |
38 #define LACKS_SYS_TYPES_H | 38 #define LACKS_SYS_TYPES_H |
39 #define LACKS_ERRNO_H | 39 #define LACKS_ERRNO_H |
40 #define LACKS_STDLIB_H | 40 #define LACKS_STDLIB_H |
41 #define ABORT | 41 #define ABORT |
42 #define memset SDL_memset | |
43 #define memcpy SDL_memcpy | |
44 #define malloc SDL_malloc | |
45 #define realloc SDL_realloc | |
46 #define free SDL_free | |
42 | 47 |
43 /* | 48 /* |
44 This is a version (aka dlmalloc) of malloc/free/realloc written by | 49 This is a version (aka dlmalloc) of malloc/free/realloc written by |
45 Doug Lea and released to the public domain, as explained at | 50 Doug Lea and released to the public domain, as explained at |
46 http://creativecommons.org/licenses/publicdomain. Send questions, | 51 http://creativecommons.org/licenses/publicdomain. Send questions, |