From: Anthony Green Date: Sat, 2 Jun 2001 19:40:53 +0000 (+0000) Subject: !defined(USE_LTDL) fix X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=20f914dc057184c1f125f4e27969a644076e726b;p=gcc.git !defined(USE_LTDL) fix From-SVN: r42813 --- 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