summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtc <devnull@localhost>1998-06-03 21:46:18 +0000
committerwtc <devnull@localhost>1998-06-03 21:46:18 +0000
commite8ae2aececed9865596be3adb0c4d18907d472f5 (patch)
treef9f761a4c255cd3557d75cf37b6e3fed3d51d07a
parentcc0de74e239089eb668e260f0d25383bbadca8d7 (diff)
downloadnspr-hg-e8ae2aececed9865596be3adb0c4d18907d472f5.tar.gz
Backed out revision 3.7. First, XP_PC not only means Win NT and Win 95,
but also WIN16 and OS2. I don't think WIN16 and OS2 have GetLastError(). Second, we always call DllErrorInternal() with the argument _MD_ERRNO(), and _MD_ERRNO() is defined as GetLastError() on NT and Win95.
-rw-r--r--pr/src/linking/prlink.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/pr/src/linking/prlink.c b/pr/src/linking/prlink.c
index 61edcad1..93f0b45a 100644
--- a/pr/src/linking/prlink.c
+++ b/pr/src/linking/prlink.c
@@ -103,8 +103,6 @@ static void DLLErrorInternal(PRIntn oserr)
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