!defined(USE_LTDL) fix
authorAnthony Green <green@redhat.com>
Sat, 2 Jun 2001 19:40:53 +0000 (19:40 +0000)
committerAnthony Green <green@gcc.gnu.org>
Sat, 2 Jun 2001 19:40:53 +0000 (19:40 +0000)
From-SVN: r42813

libjava/ChangeLog
libjava/java/lang/natRuntime.cc

index 3bffa79d6753912b73caf25a00293ca46588bda8..f2bfa79ea478681e4eaee81be54c4da55b4fd8bd 100644 (file)
@@ -1,3 +1,8 @@
+2001-06-02  Anthony Green  <green@redhat.com>
+
+       * java/lang/natRuntime.cc (_Jv_FindSymbolInExecutable): Provide an
+       alternate when USE_LTDL not defined.
+
 2001-06-02  Anthony Green  <green@redhat.com>
 
        * configure: Rebuild.
index 0c0898107c3e6407a28218bc296d9adb16bfd690..20005b931a1fc82e6c21e54d2212ff894d82ec03 100644 (file)
@@ -72,6 +72,14 @@ _Jv_FindSymbolInExecutable (const char *symname)
   return lt_dlsym (NULL, symname);
 }
 
+#else
+
+void *
+_Jv_FindSymbolInExecutable (const char *symname)
+{
+  return NULL;
+}
+
 #endif /* USE_LTDL */
 
 void