comparison src/stdlib/SDL_malloc.c @ 1338:604d73db6802

Removed uses of stdlib.h and string.h
author Sam Lantinga <slouken@libsdl.org>
date Tue, 07 Feb 2006 09:29:18 +0000
parents 3692456e7b0f
children 22f39393668a
comparison
equal deleted inserted replaced
1337:c687f06c7473 1338:604d73db6802
27 #include "SDL_string.h" 27 #include "SDL_string.h"
28 28
29 #ifndef HAVE_MALLOC 29 #ifndef HAVE_MALLOC
30 30
31 #define LACKS_STDIO_H 31 #define LACKS_STDIO_H
32 #define LACKS_UNISTD_H
33 #define LACKS_FCNTL_H
34 #define LACKS_SYS_PARAM_H
35 #define LACKS_SYS_MMAN_H
36 #define LACKS_STRINGS_H 32 #define LACKS_STRINGS_H
37 #define LACKS_STRING_H 33 #define LACKS_STRING_H
38 #define LACKS_SYS_TYPES_H
39 #define LACKS_ERRNO_H
40 #define LACKS_STDLIB_H 34 #define LACKS_STDLIB_H
41 #define ABORT 35 #define ABORT
42 #define memset SDL_memset 36 #define memset SDL_memset
43 #define memcpy SDL_memcpy 37 #define memcpy SDL_memcpy
44 #define malloc SDL_malloc 38 #define malloc SDL_malloc
39 #define calloc SDL_calloc
45 #define realloc SDL_realloc 40 #define realloc SDL_realloc
46 #define free SDL_free 41 #define free SDL_free
47 42
48 /* 43 /*
49 This is a version (aka dlmalloc) of malloc/free/realloc written by 44 This is a version (aka dlmalloc) of malloc/free/realloc written by