summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Barcroft <mike@FreeBSD.org>2002-05-27 00:55:17 +0000
committerMike Barcroft <mike@FreeBSD.org>2002-05-27 00:55:17 +0000
commitaa37be50ade7b93e74b32410219281f6cdafa57d (patch)
treec35cc23d87602c9f0e3cc3731111c7aed0d0b600
parentca3971124ea9409b3e133b8bdead52ade608ed51 (diff)
Notes
-rw-r--r--sys/sys/wait.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/sys/wait.h b/sys/sys/wait.h
index cdd3d1e1f079..bb4419848df6 100644
--- a/sys/sys/wait.h
+++ b/sys/sys/wait.h
@@ -104,13 +104,13 @@ union wait {
* Terminated process status.
*/
struct {
-#if BYTE_ORDER == LITTLE_ENDIAN
+#if _BYTE_ORDER == _LITTLE_ENDIAN
unsigned int w_Termsig:7, /* termination signal */
w_Coredump:1, /* core dump indicator */
w_Retcode:8, /* exit code if w_termsig==0 */
w_Filler:16; /* upper bits filler */
#endif
-#if BYTE_ORDER == BIG_ENDIAN
+#if _BYTE_ORDER == _BIG_ENDIAN
unsigned int w_Filler:16, /* upper bits filler */
w_Retcode:8, /* exit code if w_termsig==0 */
w_Coredump:1, /* core dump indicator */
@@ -123,12 +123,12 @@ union wait {
* with the WUNTRACED option bit.
*/
struct {
-#if BYTE_ORDER == LITTLE_ENDIAN
+#if _BYTE_ORDER == _LITTLE_ENDIAN
unsigned int w_Stopval:8, /* == W_STOPPED if stopped */
w_Stopsig:8, /* signal that stopped us */
w_Filler:16; /* upper bits filler */
#endif
-#if BYTE_ORDER == BIG_ENDIAN
+#if _BYTE_ORDER == _BIG_ENDIAN
unsigned int w_Filler:16, /* upper bits filler */
w_Stopsig:8, /* signal that stopped us */
w_Stopval:8; /* == W_STOPPED if stopped */