comparison src/events/SDL_events.c @ 5062:e8916fe9cfc8

Fixed bug #925 Changed "win32" to "windows"
author Sam Lantinga <slouken@libsdl.org>
date Thu, 20 Jan 2011 18:04:05 -0800
parents 1f7ad083fd3c
children c2539ff054c8
comparison
equal deleted inserted replaced
5061:9e9940eae455 5062:e8916fe9cfc8
168 } 168 }
169 SDL_EventLock.safe = 0; 169 SDL_EventLock.safe = 0;
170 170
171 /* The event thread will handle timers too */ 171 /* The event thread will handle timers too */
172 SDL_SetTimerThreaded(2); 172 SDL_SetTimerThreaded(2);
173 #if (defined(__WIN32__) && !defined(_WIN32_WCE)) && !defined(HAVE_LIBC) 173 #if (defined(__WINDOWS__) && !defined(_WIN32_WCE)) && !defined(HAVE_LIBC)
174 #undef SDL_CreateThread 174 #undef SDL_CreateThread
175 SDL_EventThread = 175 SDL_EventThread =
176 SDL_CreateThread(SDL_GobbleEvents, NULL, NULL, NULL); 176 SDL_CreateThread(SDL_GobbleEvents, NULL, NULL, NULL);
177 #else 177 #else
178 SDL_EventThread = SDL_CreateThread(SDL_GobbleEvents, NULL); 178 SDL_EventThread = SDL_CreateThread(SDL_GobbleEvents, NULL);