From 20f914dc057184c1f125f4e27969a644076e726b Mon Sep 17 00:00:00 2001 From: Anthony Green Date: Sat, 2 Jun 2001 19:40:53 +0000 Subject: [PATCH] !defined(USE_LTDL) fix From-SVN: r42813 --- libjava/ChangeLog | 5 +++++ libjava/java/lang/natRuntime.cc | 8 ++++++++ 2 files changed, 13 insertions(+) diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 3bffa79d675..f2bfa79ea47 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,8 @@ +2001-06-02 Anthony Green + + * java/lang/natRuntime.cc (_Jv_FindSymbolInExecutable): Provide an + alternate when USE_LTDL not defined. + 2001-06-02 Anthony Green * configure: Rebuild. diff --git a/libjava/java/lang/natRuntime.cc b/libjava/java/lang/natRuntime.cc index 0c0898107c3..20005b931a1 100644 --- a/libjava/java/lang/natRuntime.cc +++ b/libjava/java/lang/natRuntime.cc @@ -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 -- 2.30.2