comparison 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
comparison
equal deleted inserted replaced
1337:c687f06c7473 1338:604d73db6802
30 30
31 #ifdef USE_ALTIVEC_BLITTERS 31 #ifdef USE_ALTIVEC_BLITTERS
32 #ifdef HAVE_ALTIVEC_H 32 #ifdef HAVE_ALTIVEC_H
33 #include <altivec.h> 33 #include <altivec.h>
34 #endif 34 #endif
35 #include <assert.h> 35 #define assert(X)
36 #include <stdlib.h>
37 #ifdef MACOSX 36 #ifdef MACOSX
38 #include <sys/sysctl.h> 37 #include <sys/sysctl.h>
39 static size_t GetL3CacheSize( void ) 38 static size_t GetL3CacheSize( void )
40 { 39 {
41 const char key[] = "hw.l3cachesize"; 40 const char key[] = "hw.l3cachesize";
232 dst += 16; 231 dst += 16;
233 vsrc = voverflow; 232 vsrc = voverflow;
234 } 233 }
235 234
236 assert(width == 0); 235 assert(width == 0);
237
238 236
239 /* do scalar until we can align... */ 237 /* do scalar until we can align... */
240 ONE_PIXEL_BLEND((extrawidth), extrawidth); 238 ONE_PIXEL_BLEND((extrawidth), extrawidth);
241 #undef ONE_PIXEL_BLEND 239 #undef ONE_PIXEL_BLEND
242 240