summaryrefslogtreecommitdiffstats
path: root/make/joal.cfg
diff options
context:
space:
mode:
authorkbr <[email protected]>2006-07-28 16:13:15 +0000
committerkbr <[email protected]>2006-07-28 16:13:15 +0000
commit7409ab0f5ef15096661702da5c052ceb621af4e3 (patch)
tree76a06596b3e46020d6b723f45e3f88061506db93 /make/joal.cfg
parenta6146b041390658ec61cb8406bbb6f21fca0912f (diff)
Fixed build issues on non-Windows platforms due to inclusion of EFX
entry points git-svn-id: file:///home/mbien/NetBeansProjects/JOGAMP/joal-sync/git-svn/../svn-server-sync/joal/trunk@234 03bf7f67-59de-4072-a415-9a990d468a3f
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