Mercurial > sdl-ios-xcode
diff src/video/SDL_blit_N.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 | 62802d9d7c87 |
line wrap: on
line diff
--- a/src/video/SDL_blit_N.c Tue Feb 07 07:03:29 2006 +0000 +++ b/src/video/SDL_blit_N.c Tue Feb 07 09:29:18 2006 +0000 @@ -32,8 +32,7 @@ #ifdef HAVE_ALTIVEC_H #include <altivec.h> #endif -#include <assert.h> -#include <stdlib.h> +#define assert(X) #ifdef MACOSX #include <sys/sysctl.h> static size_t GetL3CacheSize( void ) @@ -235,7 +234,6 @@ assert(width == 0); - /* do scalar until we can align... */ ONE_PIXEL_BLEND((extrawidth), extrawidth); #undef ONE_PIXEL_BLEND