--- tools/lli/ExternalFunctions.cpp	2 Sep 2002 19:36:30 -0000	1.1.1.1
+++ tools/lli/ExternalFunctions.cpp	11 Sep 2002 18:44:53 -0000	1.1.1.1.4.1
@@ -32,6 +32,7 @@
 // lives in.
 //
 std::string Interpreter::getCurrentExecutablePath() const {
+#ifdef __sun__
   Dl_info Info;
   if (dladdr(&TheInterpreter, &Info) == 0) return "";
   
@@ -41,6 +42,9 @@
     LinkAddr.resize(SlashPos);    // Trim the executable name off...
 
   return LinkAddr;
+#else
+  return "";
+#endif
 }
 
 
