diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-06-26 09:52:00 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-06-26 09:52:00 (GMT) |
commit | 1b53ef3bbd2bd4139a0fbbeaa493a2d4562b9825 (patch) | |
tree | 5d21575a7b80694248716632361e21ac84f2160c /win/configure | |
parent | e37db312053b02b4ca582bd370d90e10b2632a77 (diff) | |
download | tcl-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/configure')
-rwxr-xr-x | win/configure | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/win/configure b/win/configure index ba0007f..4db921a 100755 --- a/win/configure +++ b/win/configure @@ -4801,53 +4801,6 @@ printf "%s\n" "#define EXCEPTION_DISPOSITION int" >>confdefs.h 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. - - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for winnt.h that ignores VOID define" >&5 -printf %s "checking for winnt.h that ignores VOID define... " >&6; } -if test ${tcl_cv_winnt_ignore_void+y} -then : - printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - - #define VOID void - #define WIN32_LEAN_AND_MEAN - #include <windows.h> - #undef WIN32_LEAN_AND_MEAN - -int -main (void) -{ - - CHAR c; - SHORT s; - LONG l; - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO" -then : - tcl_cv_winnt_ignore_void=yes -else $as_nop - tcl_cv_winnt_ignore_void=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext - -fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_winnt_ignore_void" >&5 -printf "%s\n" "$tcl_cv_winnt_ignore_void" >&6; } - if test "$tcl_cv_winnt_ignore_void" = "yes" ; then - -printf "%s\n" "#define HAVE_WINNT_IGNORE_VOID 1" >>confdefs.h - - fi - ac_fn_c_check_header_compile "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default" if test "x$ac_cv_header_stdbool_h" = xyes then : |