summaryrefslogtreecommitdiffstats
path: root/make/joal.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'make/joal.cfg')
-rwxr-xr-xmake/joal.cfg3
1 files changed, 3 insertions, 0 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