aboutsummaryrefslogtreecommitdiffstats
path: root/make/stub_includes/openal/alext.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/alext.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/alext.h')
-rw-r--r--make/stub_includes/openal/alext.h16
1 files changed, 3 insertions, 13 deletions
diff --git a/make/stub_includes/openal/alext.h b/make/stub_includes/openal/alext.h
index 0447f2b..070e839 100644
--- a/make/stub_includes/openal/alext.h
+++ b/make/stub_includes/openal/alext.h
@@ -21,19 +21,9 @@
#ifndef AL_ALEXT_H
#define AL_ALEXT_H
-#include <stddef.h>
-/* Define int64_t and uint64_t types */
-#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
-#include <inttypes.h>
-#elif defined(_WIN32) && defined(__GNUC__)
-#include <stdint.h>
-#elif defined(_WIN32)
-typedef __int64 int64_t;
-typedef unsigned __int64 uint64_t;
-#else
-/* Fallback if nothing above works */
-#include <inttypes.h>
-#endif
+// JOAL removed include of
+// stddef.h, inttypes.h, stdint.h or inttypes.h
+// tese headers confuse gluegen if in use.
#include "alc.h"
#include "al.h"