Assume POSIX 1003.1-1988 or later for errno.h.
[bpt/emacs.git] / src / unexcoff.c
index 966dd58..6e29951 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