aboutsummaryrefslogtreecommitdiffstats
path: root/pc
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2017-08-18 16:01:09 +0300
committerEli Zaretskii <eliz@gnu.org>2017-08-18 16:01:09 +0300
commit823646bc0644fbb09b90ba7f7f585eec704ac758 (patch)
tree3e3be6ed18279cfe2e62ac459a9c90a76ae0dba7 /pc
parentd9ca11d809e13dfab2c41ef51eb5007c05bb3987 (diff)
downloadegawk-823646bc0644fbb09b90ba7f7f585eec704ac758.tar.gz
egawk-823646bc0644fbb09b90ba7f7f585eec704ac758.tar.bz2
egawk-823646bc0644fbb09b90ba7f7f585eec704ac758.zip
Fix the MinGW build.
Diffstat (limited to 'pc')
-rw-r--r--pc/ChangeLog5
-rw-r--r--pc/config.h2
-rw-r--r--pc/config.sed2
3 files changed, 7 insertions, 2 deletions
diff --git a/pc/ChangeLog b/pc/ChangeLog
index a01e1efb..a4920abf 100644
--- a/pc/ChangeLog
+++ b/pc/ChangeLog
@@ -1,3 +1,8 @@
+2017-08-18 Eli Zaretskii <eliz@gnu.org>
+
+ * config.h (HAVE_SYS_IOCTL_H):
+ * config.sed (HAVE_SYS_IOCTL_H): Do not define for MinGW.
+
2017-08-16 Arnold D. Robbins <arnold@skeeve.com>
* config.h: Regenerated in preparation for release.
diff --git a/pc/config.h b/pc/config.h
index c6e4a1f0..e0f2cba8 100644
--- a/pc/config.h
+++ b/pc/config.h
@@ -315,7 +315,7 @@
#define HAVE_SYSTEM 1
/* Define to 1 if you have the <sys/ioctl.h> header file. */
-#if defined(__MINGW32__) || defined(__DJGPP__)
+#ifdef __DJGPP__
#define HAVE_SYS_IOCTL_H 1
#endif
diff --git a/pc/config.sed b/pc/config.sed
index 8eced744..6498c078 100644
--- a/pc/config.sed
+++ b/pc/config.sed
@@ -188,7 +188,7 @@ s/^#undef HAVE_STRTOD *$/#define HAVE_STRTOD 1/
#define HAVE_STRUCT_STAT_ST_BLKSIZE 1\
#endif
/^#undef HAVE_SYS_IOCTL_H *$/c\
-#if defined(__MINGW32__) || defined(__DJGPP__)\
+#ifdef __DJGPP__\
#define HAVE_SYS_IOCTL_H 1\
#endif
s/^#undef HAVE_SYSTEM *$/#define HAVE_SYSTEM 1/