Mercurial > sdl-ios-xcode
comparison src/video/fbcon/SDL_fbevents.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 |
---|---|
349 status=fopen(path, "r"); | 349 status=fopen(path, "r"); |
350 if ( status ) { | 350 if ( status ) { |
351 name[0] = '\0'; | 351 name[0] = '\0'; |
352 fscanf(status, "Name: %s", name); | 352 fscanf(status, "Name: %s", name); |
353 if ( SDL_strcmp(name, wanted_name) == 0 ) { | 353 if ( SDL_strcmp(name, wanted_name) == 0 ) { |
354 pid = atoi(entry->d_name); | 354 pid = SDL_atoi(entry->d_name); |
355 } | 355 } |
356 fclose(status); | 356 fclose(status); |
357 } | 357 } |
358 } | 358 } |
359 } | 359 } |