summaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
Diffstat (limited to 'make')
-rwxr-xr-xmake/joal.cfg3
-rwxr-xr-xmake/joal.properties2
2 files changed, 4 insertions, 1 deletions
diff --git a/make/joal.cfg b/make/joal.cfg
index 7d35307..7e2d594 100755
--- a/make/joal.cfg
+++ b/make/joal.cfg
@@ -55,6 +55,9 @@ ArgumentIsString alGetProcAddress 0
# Provide #includes to native code
CustomCCode #include "al.h"
+CustomCCode #ifndef _MSC_VER /* Non-Windows platforms */
+CustomCCode #define __cdecl /* Trim non-standard keyword */
+CustomCCode #endif
CustomCCode #include "efx.h"
CustomJavaCode ALImpl /** Provides dlsym() capabilities because alGetProcAddress is
diff --git a/make/joal.properties b/make/joal.properties
index 635d975..b7a5f69 100755
--- a/make/joal.properties
+++ b/make/joal.properties
@@ -25,7 +25,7 @@
# Linux
# joal.lib.dir=/usr/lib
# Mac OS X
-# joal.lib.dir=/Library/Frameworks/OpenAL.framework
+# joal.lib.dir=/System/Library/Frameworks/OpenAL.framework
# Solaris (not yet supported)
# joal.lib.dir=/usr/lib