summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwchang0222%aol.com <devnull@localhost>2004-09-02 18:32:34 +0000
committerwchang0222%aol.com <devnull@localhost>2004-09-02 18:32:34 +0000
commitf13cff7ce075334462be6d4f60b6dd5f1fd313c9 (patch)
tree4007d2e146995fb5c3ea53e9cb596429231ce137
parentcfc362a24bdc91af4cb320f4f075e72f8e0bd8b0 (diff)
downloadnspr-hg-f13cff7ce075334462be6d4f60b6dd5f1fd313c9.tar.gz
Bugzilla bug 256217: implement PR_GetLibraryFilePathname for FreeBSD, whichMOZILLA_1_8a4_RELEASE
can use the same implementation as Solaris and Linux. The patch is contributed by Dale Jordan. r=wtc. Tag: NSPRPUB_PRE_4_2_CLIENT_BRANCH
-rw-r--r--pr/src/linking/prlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pr/src/linking/prlink.c b/pr/src/linking/prlink.c
index 991ba3d6..ccf1a3c2 100644
--- a/pr/src/linking/prlink.c
+++ b/pr/src/linking/prlink.c
@@ -1716,7 +1716,7 @@ PR_LoadStaticLibrary(const char *name, const PRStaticLinkTable *slt)
PR_IMPLEMENT(char *)
PR_GetLibraryFilePathname(const char *name, PRFuncPtr addr)
{
-#if defined(SOLARIS) || defined(LINUX)
+#if defined(SOLARIS) || defined(LINUX) || defined(FREEBSD)
Dl_info dli;
char *result;