diff options
author | Sven Gothel <[email protected]> | 2002-04-25 03:21:58 +0000 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2002-04-25 03:21:58 +0000 |
commit | 53a0faa0cce4546b441cb6af033adaabd2f1da94 (patch) | |
tree | e92bb216d2b13269c179d4e049ec5384bca1d25e /CNativeCode/invokejvm.c | |
parent | 6114297dac0848d470a3211915bea64f49d584e7 (diff) |
added pepijn's bugfix (jdk <= 1.3 GC, tesselation)
SGI Irix capable code ..
correct NIO usage for tesselation ..
minor stuff ..
Diffstat (limited to 'CNativeCode/invokejvm.c')
-rwxr-xr-x | CNativeCode/invokejvm.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CNativeCode/invokejvm.c b/CNativeCode/invokejvm.c index 78e5699..dd43a2c 100755 --- a/CNativeCode/invokejvm.c +++ b/CNativeCode/invokejvm.c @@ -43,6 +43,7 @@ int main(int argc, char ** argv) #endif
#ifdef _X11_ void * lib; + const char *err=NULL; #endif char ** myargv; @@ -69,7 +70,9 @@ int main(int argc, char ** argv) lib = dlopen (libname, RTLD_LAZY | RTLD_GLOBAL); if (lib == NULL) { + err=dlerror(); printf ("GLERROR: cannot access library %s\n", libname); + if(err!=NULL) printf("\t dlerror: %s\n", err); exit(1); } #endif
|