diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-03-17 16:35:51 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-03-17 16:35:51 (GMT) |
commit | 27c27e941a08c8ea873a5de4333a498788a22c33 (patch) | |
tree | 27485d4f1bbb8509ad6e0ade9f8402cc056bcb44 /unix/tclUnixPort.h | |
parent | 07cfb2190f1ec3f06fb59425ad6fc3b5edd5dcff (diff) | |
parent | 50eee151a907e29a58d8201f66988816ae14eae5 (diff) | |
download | tcl-27c27e941a08c8ea873a5de4333a498788a22c33.zip tcl-27c27e941a08c8ea873a5de4333a498788a22c33.tar.gz tcl-27c27e941a08c8ea873a5de4333a498788a22c33.tar.bz2 |
Merge 8.5. Mainly add Unicode 13 new plane 3 characters to the internal Unicode tables. Not used in 8.6 yet.
Diffstat (limited to 'unix/tclUnixPort.h')
-rw-r--r-- | unix/tclUnixPort.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/unix/tclUnixPort.h b/unix/tclUnixPort.h index ed1016a..9961613 100644 --- a/unix/tclUnixPort.h +++ b/unix/tclUnixPort.h @@ -250,29 +250,29 @@ extern int TclUnixSetBlockingMode(int fd, int mode); */ #ifndef WIFEXITED -# define WIFEXITED(stat) (((*((int *) &(stat))) & 0xff) == 0) +# define WIFEXITED(stat) (((*((int *) &(stat))) & 0xFF) == 0) #endif #ifndef WEXITSTATUS -# define WEXITSTATUS(stat) (((*((int *) &(stat))) >> 8) & 0xff) +# define WEXITSTATUS(stat) (((*((int *) &(stat))) >> 8) & 0xFF) #endif #ifndef WIFSIGNALED # define WIFSIGNALED(stat) \ (((*((int *) &(stat)))) && ((*((int *) &(stat))) \ - == ((*((int *) &(stat))) & 0x00ff))) + == ((*((int *) &(stat))) & 0x00FF))) #endif #ifndef WTERMSIG -# define WTERMSIG(stat) ((*((int *) &(stat))) & 0x7f) +# define WTERMSIG(stat) ((*((int *) &(stat))) & 0x7F) #endif #ifndef WIFSTOPPED -# define WIFSTOPPED(stat) (((*((int *) &(stat))) & 0xff) == 0177) +# define WIFSTOPPED(stat) (((*((int *) &(stat))) & 0xFF) == 0177) #endif #ifndef WSTOPSIG -# define WSTOPSIG(stat) (((*((int *) &(stat))) >> 8) & 0xff) +# define WSTOPSIG(stat) (((*((int *) &(stat))) >> 8) & 0xFF) #endif /* |