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 - VS2010 project doesn't include the SDL_syscond.c file
Summary: VS2010 project doesn't include the SDL_syscond.c file
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: build (show other bugs)
Version: HG 2.0
Hardware: x86 Windows 7
: P2 trivial
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-23 09:09 UTC by Liam
Modified: 2012-01-07 22:15 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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