Mercurial > sdl-ios-xcode
comparison src/video/fbcon/SDL_fbvideo.c @ 1341:d02b552e5304
Configure dynamically generates SDL_config.h
I'm still wrestling with autoheader, but this should work for now...
Fixed lots of build problems with C library support disabled
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 07 Feb 2006 12:11:33 +0000 |
parents | 604d73db6802 |
children | c71e05b4dc2e |
comparison
equal
deleted
inserted
replaced
1340:58b114ef50e7 | 1341:d02b552e5304 |
---|---|
521 | 521 |
522 /* Check if the user wants to disable hardware acceleration */ | 522 /* Check if the user wants to disable hardware acceleration */ |
523 { const char *fb_accel; | 523 { const char *fb_accel; |
524 fb_accel = SDL_getenv("SDL_FBACCEL"); | 524 fb_accel = SDL_getenv("SDL_FBACCEL"); |
525 if ( fb_accel ) { | 525 if ( fb_accel ) { |
526 finfo.accel = atoi(fb_accel); | 526 finfo.accel = SDL_atoi(fb_accel); |
527 } | 527 } |
528 } | 528 } |
529 | 529 |
530 /* Memory map the device, compensating for buggy PPC mmap() */ | 530 /* Memory map the device, compensating for buggy PPC mmap() */ |
531 mapped_offset = (((long)finfo.smem_start) - | 531 mapped_offset = (((long)finfo.smem_start) - |