Bugzilla bug 97485: added a stub for pr_FindSymbolInProg for Darwin. NSPRPUB_RELEASE_4_2_BETA2
authorwtc%netscape.com
Mon, 18 Feb 2002 23:45:10 +0000
changeset 2264 953710c63a818abdfb4902819eaa06b56e0dbf0b
parent 2263 d41ebbaee196f99f7f899bb96d036aee9df6ae98
child 2266 0bedeecd4d56e610df99a18de02f75f06b4de061
push idunknown
push userunknown
push dateunknown
bugs97485
Bugzilla bug 97485: added a stub for pr_FindSymbolInProg for Darwin.
pr/src/malloc/prmem.c
--- a/pr/src/malloc/prmem.c
+++ b/pr/src/malloc/prmem.c
@@ -140,16 +140,25 @@ pr_FindSymbolInProg(const char *name)
     shl_t h = NULL;
     void *sym;
 
     if (shl_findsym(&h, name, TYPE_DATA, &sym) == -1)
         return NULL;
     return sym;
 }
 
+#elif defined(USE_MACH_DYLD)
+
+static void *
+pr_FindSymbolInProg(const char *name)
+{
+    /* FIXME: not implemented */
+    return NULL;
+}
+
 #else
 
 #error "The zone allocator is not supported on this platform"
 
 #endif
 
 void
 _PR_InitZones(void)