older openal drivers miss alcGetString, several win32 people seem to have such an...
[supertux.git] / src / audio / sound_manager.cpp
index b3eb731..fd3320e 100644 (file)
 #include "log.hpp"
 #include "timer.hpp"
 
+#ifndef DEBUG
+  /** Older openal versions often miss this function and it isn't that vital for
+   * supertux...
+   */
+#ifdef alcGetString
+#undef alcGetString
+#endif
+#define alcGetString(x,y) ""
+#endif
+
 SoundManager* sound_manager = 0;
 
 SoundManager::SoundManager()