aboutsummaryrefslogtreecommitdiffstats
path: root/pc/config.sed
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2017-01-21 17:13:21 +0200
committerEli Zaretskii <eliz@gnu.org>2017-01-21 17:13:21 +0200
commite3e911b992f11a567cca0a0ed6ed04ef5f9e21f7 (patch)
tree1304aeb5b26e7e2187b7c68e63c180235ac7b905 /pc/config.sed
parent5a619e1986724cf8e27b637509925a8da36837e8 (diff)
downloadegawk-e3e911b992f11a567cca0a0ed6ed04ef5f9e21f7.tar.gz
egawk-e3e911b992f11a567cca0a0ed6ed04ef5f9e21f7.tar.bz2
egawk-e3e911b992f11a567cca0a0ed6ed04ef5f9e21f7.zip
Fix the MinGW build and sync its tests with mainline,
Diffstat (limited to 'pc/config.sed')
-rw-r--r--pc/config.sed12
1 files changed, 2 insertions, 10 deletions
diff --git a/pc/config.sed b/pc/config.sed
index a95ee2ef..ae2200c6 100644
--- a/pc/config.sed
+++ b/pc/config.sed
@@ -247,16 +247,8 @@ s/^#undef RETSIGTYPE *$/#define RETSIGTYPE void/
#if defined(__DJGPP__) || defined(__MINGW32__)\
#include <limits.h>\
#endif
-/^#undef SIZEOF_UNSIGNED_INT *$/c\
-#if UINT_MAX == 65536\
-#define SIZEOF_UNSIGNED_INT 2\
-#elif UINT_MAX == 4294967295U\
-#define SIZEOF_UNSIGNED_INT 4\
-#endif
-/^#undef SIZEOF_UNSIGNED_LONG *$/c\
-#if ULONG_MAX == 4294967295UL\
-#define SIZEOF_UNSIGNED_LONG 4\
-#endif
+s/^#undef SIZEOF_UNSIGNED_INT *$/#define SIZEOF_UNSIGNED_INT 4/
+s/^#undef SIZEOF_UNSIGNED_LONG *$/#define SIZEOF_UNSIGNED_LONG 4/
s/^#undef STDC_HEADERS *$/#define STDC_HEADERS 1/
s/^#undef TIME_WITH_SYS_TIME *$/#define TIME_WITH_SYS_TIME 1/
/^#undef inline *$/c\