URL:
<http://gna.org/bugs/?13411>
Summary: [Patch] Check AUDIO_SDL instead of SDL
Project: Freeciv
Submitted by: cazfi
Submitted on: Wednesday 04/22/2009 at 23:34
Category: client
Severity: 3 - Normal
Priority: 1 - Later
Status: None
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release:
Operating System: None
_______________________________________________________
Details:
All the guis other than sdl check by "#ifdef SDL" if they should use
SDL_mixer audio support. However, macro "SDL" is defined in two distinct
cases. One is when SDL_mixer should be used and other is when SDL client is
built. This will cause problems with RT ticket #40144 (build multiple clients
at once) when SDL client is built but audio support is not.
Attached patch replaces "#ifdef SDL" with "#ifdef AUDIO_SDL" as macro
AUDIO_SDL is defined only when SDL_mixer sound support is used. Also, as
there is no more use for macro SDL, it is removed.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Wednesday 04/22/2009 at 23:34 Name: CheckAudioSDLNotSDL.diff Size:
3kB By: cazfi
<http://gna.org/bugs/download.php?file_id=5679>
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?13411>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev