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 1287

Summary: VS2010 project doesn't include the SDL_syscond.c file
Product: SDL Reporter: Liam <liamkf>
Component: buildAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: trivial    
Priority: P2 CC: icculus
Version: HG 2.0   
Hardware: x86   
OS: Windows 7   

Description Liam 2011-08-23 09:09:18 UTC
Hiya!

Seems like there's no implementation of condition variables included when building with VS2010, adding the generic SDL_syscond.c file to the project seems to fix it right up.
Comment 1 Ryan C. Gordon 2011-10-11 19:15:10 UTC
As a note: Windows Vista (and Windows Server 2008) added real condition variables to the Windows API:

    http://msdn.microsoft.com/en-us/library/windows/desktop/ms682052(v=vs.85).aspx

InitializeConditionVariable, SleepConditionVariableCS, etc.

We'd still need our generic implementation for Windows XP, though.

--ryan.
Comment 2 Sam Lantinga 2012-01-07 22:15:44 UTC
Fixed, thanks!
http://hg.libsdl.org/SDL/rev/6b1932e5a36b