summaryrefslogtreecommitdiffstats
path: root/src/openal-2-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-2-static.patch
parented5d06f60efc98089f7277aace13925c2b088535 (diff)
downloadmxe-2022f74486442d0d65bf611244364be6cbb78d63.zip
mxe-2022f74486442d0d65bf611244364be6cbb78d63.tar.gz
mxe-2022f74486442d0d65bf611244364be6cbb78d63.tar.bz2
new package: OpenAL
Diffstat (limited to 'src/openal-2-static.patch')
-rw-r--r--src/openal-2-static.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/openal-2-static.patch b/src/openal-2-static.patch
new file mode 100644
index 0000000..05b2023
--- /dev/null
+++ b/src/openal-2-static.patch
@@ -0,0 +1,21 @@
+--- a/include/AL/alc.h 2010-03-29 08:23:52.000000000 +0200
++++ b/include/AL/alc.h 2010-09-30 15:45:54.681777409 +0200
+@@ -5,6 +5,10 @@
+ extern "C" {
+ #endif
+
++#if 1
++ #define ALC_API
++ #define ALC_APIENTRY
++#else
+ #if defined(_WIN32) && !defined(_XBOX)
+ #if defined(AL_BUILD_LIBRARY)
+ #define ALC_API __declspec(dllexport)
+@@ -18,6 +22,7 @@
+ #define ALC_API extern
+ #endif
+ #endif
++#endif
+
+ #if defined(_WIN32)
+ #define ALC_APIENTRY __cdecl