diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-10-08 13:33:11 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-10-08 13:33:11 (GMT) |
commit | 7bf5af5c220c94675e6cbacf175b2bac28df1432 (patch) | |
tree | ab99b02159e20db1cf5de012c85b0dd32d5ec807 /win/tclWinPort.h | |
parent | 92bd8b3a3f380903aa8f6e7221c2d4aba012a88a (diff) | |
parent | 4a3369807be6e501ec6452edf99a73514c24d861 (diff) | |
download | tcl-7bf5af5c220c94675e6cbacf175b2bac28df1432.zip tcl-7bf5af5c220c94675e6cbacf175b2bac28df1432.tar.gz tcl-7bf5af5c220c94675e6cbacf175b2bac28df1432.tar.bz2 |
Make everything compile warning-free with -Wundef. Put enum ASSEM_DICT_GET_DEF last in TalInstType, so it's binary compatible with Tcl 8.6
Diffstat (limited to 'win/tclWinPort.h')
-rw-r--r-- | win/tclWinPort.h | 6 |
1 files changed, 3 insertions, 3 deletions
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 */ |