aboutsummaryrefslogtreecommitdiffstats
path: root/CNativeCode/jni12tools.c
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2002-04-04 03:11:30 +0000
committerSven Gothel <[email protected]>2002-04-04 03:11:30 +0000
commit7781c906ff15744fdf58ea4c9856fd3241d7e4e2 (patch)
tree9f2ff592355806ebe940f788e2e2cf6131a898e6 /CNativeCode/jni12tools.c
parent8d696e601530581511c1121e2cff45ee05b213f0 (diff)
dynamic linking of jawt dll/so ..
Diffstat (limited to 'CNativeCode/jni12tools.c')
-rw-r--r--CNativeCode/jni12tools.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/CNativeCode/jni12tools.c b/CNativeCode/jni12tools.c
index 09b948a..4a13a52 100644
--- a/CNativeCode/jni12tools.c
+++ b/CNativeCode/jni12tools.c
@@ -1,7 +1,8 @@
#include <string.h>
#include "jnitools.h"
-
-#include "gltool.h"
+#include "jawt_misc.h"
+
+#include "gltool.h"
#ifdef __BUILTIN_VA_ARG_INCR
/* Special stuff for the SunOS port ... */
@@ -538,7 +539,8 @@ JNI_OnLoad(JavaVM * vm, void *reserved)
JNIEXPORT void JNICALL
JNI_OnUnload(JavaVM *vm, void *reserved)
-{
+{
unloadGLLibrary();
+ jawt_unload();
}