view src/openal-2-static.patch @ 1234:3c63edcea6db

new package: OpenAL
author Martin Gerhardy <martin.gerhardy@gmail.com>
date Fri, 01 Oct 2010 01:56:08 +1000
parents
children
line wrap: on
line source

--- 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