summaryrefslogtreecommitdiffstats
path: root/make/joal-CustomCCode.c
diff options
context:
space:
mode:
authorkbr <[email protected]>2006-01-29 21:31:43 +0000
committerkbr <[email protected]>2006-01-29 21:31:43 +0000
commit6960076cf6a0f893966021a016d1b2319a5739cb (patch)
tree7055b9d51ef16fecb0abe326930da72b0eb8fb19 /make/joal-CustomCCode.c
parent16c530c791dbf17e66618233600d9e3387f18da7 (diff)
Fixes for Linux build
git-svn-id: file:///home/mbien/NetBeansProjects/JOGAMP/joal-sync/git-svn/../svn-server-sync/joal/trunk@104 03bf7f67-59de-4072-a415-9a990d468a3f
Diffstat (limited to 'make/joal-CustomCCode.c')
-rwxr-xr-xmake/joal-CustomCCode.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/make/joal-CustomCCode.c b/make/joal-CustomCCode.c
index a6d0bb6..26c9b42 100755
--- a/make/joal-CustomCCode.c
+++ b/make/joal-CustomCCode.c
@@ -1,6 +1,10 @@
#if defined(_MSC_VER) /* Windows */
#include <windows.h>
static HMODULE oalModule = NULL;
+#else
+/* Hack for Linux */
+#define __USE_GNU
+#include <dlfcn.h>
#endif
/* Java->C glue code: