We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 2585

Summary: 2.03 not compiling under mingw32
Product: SDL Reporter: mattreecebentley
Component: *don't know*Assignee: Ryan C. Gordon <icculus>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: major    
Priority: P2    
Version: 2.0.3   
Hardware: x86   
OS: Windows (XP)   

Description mattreecebentley 2014-06-15 08:55:03 UTC
Compiling program under 2.03 (vs 2.02) under mingw32 (codelite, XP sp3) results in the following error:

e:/programming/SDL/include/SDL2/SDL_platform.h:122:28: error: missing binary operator before token "("
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
^
e:/programming/SDL/include/SDL2/SDL_platform.h:126:30: error: missing binary operator before token "("
#elif WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)

Care was taken to clean the project & workspace (both automatically and manually) before the new compilation.
Comment 1 Sam Lantinga 2014-06-15 20:20:29 UTC
This is fixed in the current Mercurial snapshot, and will be in the 2.0.4 release:
http://www.libsdl.org/tmp/SDL-2.0.zip