comparison src/syswait.h @ 2286:04bc9d2f42c7

[xemacs-hg @ 2004-09-20 19:18:55 by james] Mark all unused parameters as unused. Also eliminate some unneeded local variables.
author james
date Mon, 20 Sep 2004 19:20:08 +0000
parents 8de8e3f6228a
children 308d34e9f07d
comparison
equal deleted inserted replaced
2285:914c5afaac33 2286:04bc9d2f42c7
26 26
27 #ifdef HAVE_SYS_WAIT_H 27 #ifdef HAVE_SYS_WAIT_H
28 #include <sys/wait.h> 28 #include <sys/wait.h>
29 #endif 29 #endif
30 30
31 #ifdef UNO
32 /* On glibc-based systems, these macros expand to forms containing
33 __extension__, which Uno cannot understand. */
34 #undef WEXITSTATUS
35 #undef WIFEXITED
36 #undef WIFSTOPPED
37 #undef WIFSIGNALED
38 #undef WCOREDUMP
39 #undef WTERMSIG
40 #undef WSTOPSIG
41 #undef WRETCODE
42 #endif
43
31 #ifndef WEXITSTATUS 44 #ifndef WEXITSTATUS
32 #define WEXITSTATUS(s) ((s) >> 8) 45 #define WEXITSTATUS(s) ((s) >> 8)
33 #endif 46 #endif
34 #ifndef WIFEXITED 47 #ifndef WIFEXITED
35 #define WIFEXITED(s) (((s) & 0xff) == 0) 48 #define WIFEXITED(s) (((s) & 0xff) == 0)