diff src/dynamic-ld.cc @ 3222:dae85431bade

[project @ 1998-11-19 22:14:06 by jwe]
author jwe
date Thu, 19 Nov 1998 22:14:09 +0000
parents 390d5e396682
children 6923abb04e16
line wrap: on
line diff
--- a/src/dynamic-ld.cc	Thu Nov 19 20:31:47 1998 +0000
+++ b/src/dynamic-ld.cc	Thu Nov 19 22:14:09 1998 +0000
@@ -240,24 +240,6 @@
       builtin_fcn_installer f
 	= instance->resolve_reference (mangled_name, oct_file);
 
-
-      // XXX FIXME XXX -- this should probably be handled correctly by
-      // mangle_octave_oct_file_name using a configure test.
-
-      // Perhaps we should always check for both forms of the name and
-      // issue a warning if they both exist?  (I still think it would
-      // be best to use some configure test to determine exactly what
-      // form of the symbol name we should be looking for...)
-
-      if (! f)
-	{
-	  string t = "_";
-
-	  mangled_name = t.append (mangled_name);
-
-	  f = instance->resolve_reference (mangled_name, oct_file);
-	}
-
       if (f)
 	retval = f ();
     }
@@ -274,7 +256,11 @@
 string
 octave_dynamic_loader::mangle_name (const string& name)
 {
+#if defined (CXX_PREPENDS_UNDERSCORE)
+  string retval ("_FS");
+#else
   string retval ("FS");
+#endif
   retval.append (name);
   retval.append ("__Fv");
   return retval;