summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2021-08-23 09:59:26 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2021-08-23 09:59:26 (GMT)
commitd0288f61d325f0fca40f7b1284e05378c849a42e (patch)
treeb7163dfeee87ddd47dfd44d9386b7518e53cbf9f /win
parent45a3da641483121d970286aec42e2e0386a15ee3 (diff)
downloadtcl-d0288f61d325f0fca40f7b1284e05378c849a42e.zip
tcl-d0288f61d325f0fca40f7b1284e05378c849a42e.tar.gz
tcl-d0288f61d325f0fca40f7b1284e05378c849a42e.tar.bz2
Code formatting
Diffstat (limited to 'win')
-rw-r--r--win/tclWinPort.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/win/tclWinPort.h b/win/tclWinPort.h
index d3dbb1b..9c0a3d3 100644
--- a/win/tclWinPort.h
+++ b/win/tclWinPort.h
@@ -14,7 +14,6 @@
#ifndef _TCLWINPORT
#define _TCLWINPORT
-
#if !defined(_WIN64) && !defined(__MINGW_USE_VC2005_COMPAT)
/* See [Bug 3354324]: file mtime sets wrong time */
# define __MINGW_USE_VC2005_COMPAT
@@ -230,7 +229,7 @@ typedef DWORD_PTR * PDWORD_PTR;
#endif
#ifndef WTERMSIG
-# define WTERMSIG(stat) ((*((int *) &(stat))) & 0x7f)
+# define WTERMSIG(stat) ((*((int *) &(stat))) & 0x7F)
#endif
#ifndef WIFSTOPPED
@@ -238,7 +237,7 @@ typedef DWORD_PTR * PDWORD_PTR;
#endif
#ifndef WSTOPSIG
-# define WSTOPSIG(stat) (((*((int *) &(stat))) >> 8) & 0xff)
+# define WSTOPSIG(stat) (((*((int *) &(stat))) >> 8) & 0xFF)
#endif
/*
@@ -396,7 +395,6 @@ typedef DWORD_PTR * PDWORD_PTR;
# endif
#endif
-
/*
* There is no platform-specific panic routine for Windows in the Tcl internals.
*/