stepmania/stepmania — pull request #358 by jberney (2014-10-30 21:41:25+00:00)
Title: Band-aid fix for 10.10 fullscreen issues (only when compiled with 10.6 SDK)

Building against newer Mac OS X SDKs causes fullscreen not to work (see: Issue #224). Building with the 10.6 SDK allows fullscreen to work.

A recent change to MemoryCardDriverThreaded_MacOSX::Unmount causes Stepmania to not compile under the 10.6 SDK. The new implementation of the method relies on a function called sync_volume_np, which was not introduced until 10.8.

This pull request uses the function if it's available, and falls back to the old logic if it's not. This allows compilation with the 10.6 SDK and the newer SDKs. When compiling with the 10.6 SDK, fullscreen works again.