Mercurial > sdl-ios-xcode
diff src/video/windib/SDL_dibevents.c @ 4232:29605c881b29 SDL-1.2
Fixed compile error on Win32
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 22 Sep 2009 02:42:11 +0000 |
parents | cf958451fd8d |
children | cbe5222d051a |
line wrap: on
line diff
--- a/src/video/windib/SDL_dibevents.c Tue Sep 22 02:37:30 2009 +0000 +++ b/src/video/windib/SDL_dibevents.c Tue Sep 22 02:42:11 2009 +0000 @@ -323,7 +323,11 @@ extern int posted; POINT mouse; - if(!GetCursorPos( &mouse ) && !GetLastStylusPos( &mouse )) return; +#ifdef _WIN32_WCE + if ( !GetCursorPos(&mouse) && !GetLastStylusPos(&mouse) ) return; +#else + if ( !GetCursorPos(&mouse) ) return; +#endif if ( mouse_relative ) { POINT center;