summaryrefslogtreecommitdiffstats
path: root/win/tcl.m4
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2023-06-26 09:52:00 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2023-06-26 09:52:00 (GMT)
commit1b53ef3bbd2bd4139a0fbbeaa493a2d4562b9825 (patch)
tree5d21575a7b80694248716632361e21ac84f2160c /win/tcl.m4
parente37db312053b02b4ca582bd370d90e10b2632a77 (diff)
downloadtcl-1b53ef3bbd2bd4139a0fbbeaa493a2d4562b9825.zip
tcl-1b53ef3bbd2bd4139a0fbbeaa493a2d4562b9825.tar.gz
tcl-1b53ef3bbd2bd4139a0fbbeaa493a2d4562b9825.tar.bz2
Remove compat/stdint.h and compat/stdlib.h: All C-compilers nowadays have it.
Diffstat (limited to 'win/tcl.m4')
-rw-r--r--win/tcl.m424
1 files changed, 0 insertions, 24 deletions
diff --git a/win/tcl.m4 b/win/tcl.m4
index 954c3c0..fff706b 100644
--- a/win/tcl.m4
+++ b/win/tcl.m4
@@ -938,30 +938,6 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
[Defined when cygwin/mingw does not support EXCEPTION DISPOSITION])
fi
- # Check to see if winnt.h defines CHAR, SHORT, and LONG
- # even if VOID has already been #defined. The win32api
- # used by mingw and cygwin is known to do this.
-
- AC_CACHE_CHECK(for winnt.h that ignores VOID define,
- tcl_cv_winnt_ignore_void,
- AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
- #define VOID void
- #define WIN32_LEAN_AND_MEAN
- #include <windows.h>
- #undef WIN32_LEAN_AND_MEAN
- ]], [[
- CHAR c;
- SHORT s;
- LONG l;
- ]])],
- [tcl_cv_winnt_ignore_void=yes],
- [tcl_cv_winnt_ignore_void=no])
- )
- if test "$tcl_cv_winnt_ignore_void" = "yes" ; then
- AC_DEFINE(HAVE_WINNT_IGNORE_VOID, 1,
- [Defined when cygwin/mingw ignores VOID define in winnt.h])
- fi
-
AC_CHECK_HEADER(stdbool.h, [AC_DEFINE(HAVE_STDBOOL_H, 1, [Do we have <stdbool.h>?])],)
# See if the compiler supports casting to a union type.