Making branch work. Changes for nsplugin.h -> nsIPlug.h OJI_19980528_TEMP_BRANCH
authorwarren
Tue, 02 Jun 1998 08:00:28 +0000
branchOJI_19980528_TEMP_BRANCH
changeset 139 052aef3a3b9adba68b9297847da8d4e06373e130
parent 137 1824173391cc2a546dc311336faa758447f34941
push idunknown
push userunknown
push dateunknown
Making branch work. Changes for nsplugin.h -> nsIPlug.h
pr/src/linking/prlink.c
--- a/pr/src/linking/prlink.c
+++ b/pr/src/linking/prlink.c
@@ -98,16 +98,18 @@ static void DLLErrorInternal(PRIntn oser
 ** but will eventually come up with the right answer.
 */
 {
     const char *error = NULL;
 #ifdef USE_DLFCN
     error = dlerror();  /* $$$ That'll be wrong some of the time - AOF */
 #elif defined(HAVE_STRERROR)
     error = strerror(oserr);  /* this should be okay */
+#elif defined(XP_PC)
+    error = errno_string(GetLastError());
 #else
     error = errno_string(oserr);
 #endif
     if (NULL != error)
         PR_SetErrorText(strlen(error), error);
 }  /* DLLErrorInternal */
 
 void _PR_InitLinker(void)