Commit ff18e5fe authored by Sam Lantinga's avatar Sam Lantinga

Fixed compile error on Win32

--HG--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403878
parent 5d28997a
...@@ -323,7 +323,11 @@ static void DIB_GenerateMouseMotionEvent(_THIS) ...@@ -323,7 +323,11 @@ static void DIB_GenerateMouseMotionEvent(_THIS)
extern int posted; extern int posted;
POINT mouse; 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 ) { if ( mouse_relative ) {
POINT center; POINT center;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment