diff 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
line wrap: on
line diff
--- a/src/stdlib/SDL_malloc.c	Tue Feb 07 07:03:29 2006 +0000
+++ b/src/stdlib/SDL_malloc.c	Tue Feb 07 09:29:18 2006 +0000
@@ -29,19 +29,14 @@
 #ifndef HAVE_MALLOC
 
 #define LACKS_STDIO_H
-#define LACKS_UNISTD_H
-#define LACKS_FCNTL_H
-#define LACKS_SYS_PARAM_H
-#define LACKS_SYS_MMAN_H
 #define LACKS_STRINGS_H
 #define LACKS_STRING_H
-#define LACKS_SYS_TYPES_H
-#define LACKS_ERRNO_H
 #define LACKS_STDLIB_H
 #define ABORT
 #define memset	SDL_memset
 #define memcpy	SDL_memcpy
 #define malloc	SDL_malloc
+#define calloc	SDL_calloc
 #define realloc	SDL_realloc
 #define free	SDL_free