summaryrefslogtreecommitdiffstats
path: root/make/stub_includes/openal/al.h
diff options
context:
space:
mode:
authorMichael Zucchi <[email protected]>2013-01-26 01:01:25 +0100
committerXerxes Rånby <[email protected]>2013-01-26 01:01:25 +0100
commit4885e2a488223b852598520664875804d302d3e3 (patch)
tree4c27d199c4af3a9250b008a63db88f55651903c6 /make/stub_includes/openal/al.h
parent0801dd17ee69e88661401172026b48ac898d7a2b (diff)
Bug 567 (part 2): add support for openal extensions
Alter the OpenAL-soft headers to please the gluegen parser. al-types.h and alc-types.h imported from the patch made by Michael Zucchi. Author: Michael Zucchi <[email protected]> Signed-off-by: Xerxes Rånby <[email protected]>
Diffstat (limited to 'make/stub_includes/openal/al.h')
-rw-r--r--make/stub_includes/openal/al.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/make/stub_includes/openal/al.h b/make/stub_includes/openal/al.h
index 413b383..bc84517 100644
--- a/make/stub_includes/openal/al.h
+++ b/make/stub_includes/openal/al.h
@@ -1,6 +1,12 @@
#ifndef AL_AL_H
#define AL_AL_H
+// joal: define prototypes, and disable ext_foldback (requires custom callback code)
+#define AL_ALEXT_PROTOTYPES
+#define AL_EXT_FOLDBACK
+#include "al-types.h"
+#include "alc-types.h"
+
#if defined(__cplusplus)
extern "C" {
#endif