This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Fix for systems without ltdl



Systems where USE_LTDL is not defined need an alternate implementation
of _Jv_FindSymbolInExecutable.

Ok for trunk?


2001-06-02  Anthony Green  <green@redhat.com>

	* java/lang/natRuntime.cc (_Jv_FindSymbolInExecutable): Provide an
	alternate when USE_LTDL not defined.

Index: libjava/java/lang/natRuntime.cc
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/lang/natRuntime.cc,v
retrieving revision 1.16
diff -u -p -r1.16 natRuntime.cc
--- natRuntime.cc	2001/03/26 07:05:32	1.16
+++ natRuntime.cc	2001/06/02 19:20:10
@@ -72,6 +72,14 @@ _Jv_FindSymbolInExecutable (const char *
   return lt_dlsym (NULL, symname);
 }
 
+#else
+
+void *
+_Jv_FindSymbolInExecutable (const char *symname)
+{
+  return NULL;
+}
+
 #endif /* USE_LTDL */
 
 void


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]