comparison src/video/ataricommon/SDL_atarievents.c @ 1336:3692456e7b0f

Use SDL_ prefixed versions of C library functions. FIXME: Change #include <stdlib.h> to #include "SDL_stdlib.h" Change #include <string.h> to #include "SDL_string.h" Make sure nothing else broke because of this...
author Sam Lantinga <slouken@libsdl.org>
date Tue, 07 Feb 2006 06:59:48 +0000
parents c9b51268668f
children 604d73db6802
comparison
equal deleted inserted replaced
1335:c39265384763 1336:3692456e7b0f
80 this->PumpEvents=AtariGemdos_PumpEvents; 80 this->PumpEvents=AtariGemdos_PumpEvents;
81 Atari_ShutdownEvents=AtariGemdos_ShutdownEvents; 81 Atari_ShutdownEvents=AtariGemdos_ShutdownEvents;
82 break; 82 break;
83 } 83 }
84 84
85 envr = getenv("SDL_ATARI_EVENTSDRIVER"); 85 envr = SDL_getenv("SDL_ATARI_EVENTSDRIVER");
86 86
87 if (!envr) { 87 if (!envr) {
88 return; 88 return;
89 } 89 }
90 90
91 if (strcmp(envr, "ikbd") == 0) { 91 if (SDL_strcmp(envr, "ikbd") == 0) {
92 this->InitOSKeymap=AtariIkbd_InitOSKeymap; 92 this->InitOSKeymap=AtariIkbd_InitOSKeymap;
93 this->PumpEvents=AtariIkbd_PumpEvents; 93 this->PumpEvents=AtariIkbd_PumpEvents;
94 Atari_ShutdownEvents=AtariIkbd_ShutdownEvents; 94 Atari_ShutdownEvents=AtariIkbd_ShutdownEvents;
95 } 95 }
96 96
97 if (strcmp(envr, "gemdos") == 0) { 97 if (SDL_strcmp(envr, "gemdos") == 0) {
98 this->InitOSKeymap=AtariGemdos_InitOSKeymap; 98 this->InitOSKeymap=AtariGemdos_InitOSKeymap;
99 this->PumpEvents=AtariGemdos_PumpEvents; 99 this->PumpEvents=AtariGemdos_PumpEvents;
100 Atari_ShutdownEvents=AtariGemdos_ShutdownEvents; 100 Atari_ShutdownEvents=AtariGemdos_ShutdownEvents;
101 } 101 }
102 102
103 if (strcmp(envr, "bios") == 0) { 103 if (SDL_strcmp(envr, "bios") == 0) {
104 this->InitOSKeymap=AtariBios_InitOSKeymap; 104 this->InitOSKeymap=AtariBios_InitOSKeymap;
105 this->PumpEvents=AtariBios_PumpEvents; 105 this->PumpEvents=AtariBios_PumpEvents;
106 Atari_ShutdownEvents=AtariBios_ShutdownEvents; 106 Atari_ShutdownEvents=AtariBios_ShutdownEvents;
107 } 107 }
108 } 108 }