Mercurial > mxe-octave
comparison src/openal-1-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 |
comparison
equal
deleted
inserted
replaced
1233:cc6c5d009f44 | 1234:3c63edcea6db |
---|---|
1 --- a/include/AL/al.h 2010-03-29 08:23:32.000000000 +0200 | |
2 +++ b/include/AL/al.h 2010-09-30 15:45:27.845778136 +0200 | |
3 @@ -5,6 +5,10 @@ | |
4 extern "C" { | |
5 #endif | |
6 | |
7 +#if 1 | |
8 + #define AL_API | |
9 + #define AL_APIENTRY | |
10 +#else | |
11 #if defined(_WIN32) && !defined(_XBOX) | |
12 #if defined(AL_BUILD_LIBRARY) | |
13 #define AL_API __declspec(dllexport) | |
14 @@ -18,6 +22,7 @@ | |
15 #define AL_API extern | |
16 #endif | |
17 #endif | |
18 +#endif | |
19 | |
20 #if defined(_WIN32) | |
21 #define AL_APIENTRY __cdecl |