entered into RCS
authorRoland McGrath <roland@gcc.gnu.org>
Sat, 19 Dec 1992 06:32:08 +0000 (06:32 +0000)
committerRoland McGrath <roland@gcc.gnu.org>
Sat, 19 Dec 1992 06:32:08 +0000 (06:32 +0000)
From-SVN: r2894

gcc/getpwd.c

index 671abb8..922a9ed 100644 (file)
@@ -59,7 +59,9 @@ getpwd ()
          {
            int e = errno;
            free (p);
+#ifdef ERANGE
            if (e != ERANGE)
+#endif
              {
                errno = failure_errno = e;
                p = 0;