diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-10-12 10:45:30 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-10-12 10:45:30 (GMT) |
commit | 63b5fd2631b35315fa851fa150f6e647e655d458 (patch) | |
tree | 650f334db7ad57d969f25b6ea57c0a80a07ef4f9 /win | |
parent | 764371ff33bcc96037c5ce97222b2f4c1d0d6016 (diff) | |
parent | ceb95678742fb22d8afc60bb462511af63c2dc2b (diff) | |
download | tcl-63b5fd2631b35315fa851fa150f6e647e655d458.zip tcl-63b5fd2631b35315fa851fa150f6e647e655d458.tar.gz tcl-63b5fd2631b35315fa851fa150f6e647e655d458.tar.bz2 |
Merge 8.7
Diffstat (limited to 'win')
-rwxr-xr-x | win/configure | 2 | ||||
-rw-r--r-- | win/tcl.m4 | 2 | ||||
-rw-r--r-- | win/tclWinPort.h | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/win/configure b/win/configure index 7ad386c..d824244 100755 --- a/win/configure +++ b/win/configure @@ -4216,7 +4216,7 @@ $as_echo "using shared flags" >&6; } CFLAGS_DEBUG=-g CFLAGS_OPTIMIZE="-O2 -fomit-frame-pointer" - CFLAGS_WARNING="-Wall -Wextra -Wshadow -Wwrite-strings -Wpointer-arith" + CFLAGS_WARNING="-Wall -Wextra -Wshadow -Wundef -Wwrite-strings -Wpointer-arith" LDFLAGS_DEBUG= LDFLAGS_OPTIMIZE= @@ -673,7 +673,7 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [ CFLAGS_DEBUG=-g CFLAGS_OPTIMIZE="-O2 -fomit-frame-pointer" - CFLAGS_WARNING="-Wall -Wextra -Wshadow -Wwrite-strings -Wpointer-arith" + CFLAGS_WARNING="-Wall -Wextra -Wshadow -Wundef -Wwrite-strings -Wpointer-arith" LDFLAGS_DEBUG= LDFLAGS_OPTIMIZE= diff --git a/win/tclWinPort.h b/win/tclWinPort.h index bf4553c..94c8e87 100644 --- a/win/tclWinPort.h +++ b/win/tclWinPort.h @@ -297,7 +297,7 @@ typedef DWORD_PTR * PDWORD_PTR; * defined in header files above. */ -#if TCL_UNION_WAIT +#ifdef TCL_UNION_WAIT # define WAIT_STATUS_TYPE union wait #else # define WAIT_STATUS_TYPE int @@ -439,10 +439,10 @@ typedef DWORD_PTR * PDWORD_PTR; * Define pid_t and uid_t if they're not already defined. */ -#if ! TCL_PID_T +#if !defined(TCL_PID_T) # define pid_t int #endif /* !TCL_PID_T */ -#if ! TCL_UID_T +#if !defined(TCL_UID_T) # define uid_t int #endif /* !TCL_UID_T */ |