summaryrefslogtreecommitdiff
path: root/g_src/music_and_sound_g.h
diff options
context:
space:
mode:
Diffstat (limited to 'g_src/music_and_sound_g.h')
-rwxr-xr-xg_src/music_and_sound_g.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/g_src/music_and_sound_g.h b/g_src/music_and_sound_g.h
new file mode 100755
index 0000000..dc9acb0
--- /dev/null
+++ b/g_src/music_and_sound_g.h
@@ -0,0 +1,13 @@
+#ifndef MUSIC_AND_SOUND_G
+#define MUSIC_AND_SOUND_G
+
+// Fmodex works well enough on windows/os x, but on some linux distributions it fails badly
+#if defined(linux)
+#include "music_and_sound_openal.h"
+#else
+#include "music_and_sound_fmodex.h"
+#endif // unix
+
+extern musicsoundst musicsound;
+
+#endif