]> code.delx.au - gnu-emacs/blobdiff - src/unexcoff.c
Assume POSIX 1003.1-1988 or later for errno.h.
[gnu-emacs] / src / unexcoff.c
index 966dd58cb6ee1b30f7056060acf9eab3c548503f..6e29951a962c6b241311a6b95296532fa05f44f3 100644 (file)
@@ -332,11 +332,7 @@ write_segment (int new, const char *ptr, const char *end)
         a gap between the old text segment and the old data segment.
         This gap has probably been remapped into part of the text segment.
         So write zeros for it.  */
-      if (ret == -1
-#ifdef EFAULT
-         && errno == EFAULT
-#endif
-         )
+      if (ret == -1 && errno == EFAULT)
        {
          /* Write only a page of zeros at once,
             so that we don't overshoot the start