[Commits] [wesnoth/wesnoth] 264dc0: change preprocessor symbols controlling SDL MIXER ...

GitHub noreply at github.com
Fri Oct 31 13:19:55 UTC 2014


  Branch: refs/heads/1.12
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 264dc08e91ab8b1e8252be4379605d63195613e7
      https://github.com/wesnoth/wesnoth/commit/264dc08e91ab8b1e8252be4379605d63195613e7
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-10-31 (Fri, 31 Oct 2014)

  Changed paths:
    M src/sound.cpp

  Log Message:
  -----------
  change preprocessor symbols controlling SDL MIXER min version

Previously, the code that requires SDL_mixer v 1.2.12 was guarded
by #ifdef PANDORA, since this was the only platform intended to
use this. However, it turns out that OS X < 10.5 has a hard time
getting this library as well.

Instead of branching by platform, here we just check the version
defind by the SDL_mixer header, and include the code appropriate.

We rely on the scons / cmake / project file to fail any build which
should be done with the recent version.





More information about the Commits mailing list