blob: 5510d7ae0d4b93e083644211a1d435ce613221e6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
# This file is part of mingw-cross-env.
# See doc/index.html for further information.
diff -urN openal-soft-1.12.854.orig/include/AL/al.h openal-soft-1.12.854.new/include/AL/al.h
--- openal-soft-1.12.854.orig/include/AL/al.h 2010-03-29 17:23:32.000000000 +1100
+++ openal-soft-1.12.854.new/include/AL/al.h 2010-10-01 01:04:45.000000000 +1000
@@ -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
diff -urN openal-soft-1.12.854.orig/include/AL/alc.h openal-soft-1.12.854.new/include/AL/alc.h
--- openal-soft-1.12.854.orig/include/AL/alc.h 2010-03-29 17:23:52.000000000 +1100
+++ openal-soft-1.12.854.new/include/AL/alc.h 2010-10-01 01:04:45.000000000 +1000
@@ -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
diff -urN openal-soft-1.12.854.orig/openal.pc.in openal-soft-1.12.854.new/openal.pc.in
--- openal-soft-1.12.854.orig/openal.pc.in 2008-07-24 04:55:49.000000000 +1000
+++ openal-soft-1.12.854.new/openal.pc.in 2010-10-01 01:04:45.000000000 +1000
@@ -7,5 +7,5 @@
Description: OpenAL is a cross-platform 3D audio API
Requires: @PKG_CONFIG_REQUIRES@
Version: @PACKAGE_VERSION@
-Libs: -L${libdir} -l@LIBNAME@ @PKG_CONFIG_LIBS@
+Libs: -L${libdir} -l@LIBNAME@ @PKG_CONFIG_LIBS@ -lwinmm
Cflags: -I${includedir}
|