comparison src/events/SDL_events.c @ 5088:c2539ff054c8

Fixed compiling on Windows Mobile SDK 5.0 with Visual Studio 2008
author Sam Lantinga <slouken@libsdl.org>
date Mon, 24 Jan 2011 15:46:11 -0800
parents e8916fe9cfc8
children 481dabb098ef
comparison
equal deleted inserted replaced
5087:e7680e2c9f3c 5088:c2539ff054c8
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(__WINDOWS__) && !defined(_WIN32_WCE)) && !defined(HAVE_LIBC) 173 #if (defined(__WIN32__) && !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);