summaryrefslogtreecommitdiffstats
path: root/src/openal-1-static.patch
diff options
context:
space:
mode:
authorMartin Gerhardy <martin.gerhardy@gmail.com>2010-09-30 15:56:08 (GMT)
committerMartin Gerhardy <martin.gerhardy@gmail.com>2010-09-30 15:56:08 (GMT)
commit2022f74486442d0d65bf611244364be6cbb78d63 (patch)
tree277e0823573c2c0ecd9a95d16e784aea3fddabac /src/openal-1-static.patch
parented5d06f60efc98089f7277aace13925c2b088535 (diff)
downloadmxe-2022f74486442d0d65bf611244364be6cbb78d63.zip
mxe-2022f74486442d0d65bf611244364be6cbb78d63.tar.gz
mxe-2022f74486442d0d65bf611244364be6cbb78d63.tar.bz2
new package: OpenAL
Diffstat (limited to 'src/openal-1-static.patch')
-rw-r--r--src/openal-1-static.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/openal-1-static.patch b/src/openal-1-static.patch
new file mode 100644
index 0000000..d18d4dc
--- /dev/null
+++ b/src/openal-1-static.patch
@@ -0,0 +1,21 @@
+--- a/include/AL/al.h 2010-03-29 08:23:32.000000000 +0200
++++ b/include/AL/al.h 2010-09-30 15:45:27.845778136 +0200
+@@ -5,6 +5,10 @@
+ extern "C" {
+ #endif
+
++#if 1
++ #define AL_API
++ #define AL_APIENTRY
++#else
+ #if defined(_WIN32) && !defined(_XBOX)
+ #if defined(AL_BUILD_LIBRARY)
+ #define AL_API __declspec(dllexport)
+@@ -18,6 +22,7 @@
+ #define AL_API extern
+ #endif
+ #endif
++#endif
+
+ #if defined(_WIN32)
+ #define AL_APIENTRY __cdecl