diff options
author | Andreas Schwab <schwab@redhat.com> | 2009-07-29 13:41:25 +0200 |
---|---|---|
committer | Andreas Schwab <schwab@redhat.com> | 2009-07-29 13:41:25 +0200 |
commit | ac285df609a4cdd7fe09949bfe0d650a82d9942f (patch) | |
tree | 4735e2e6ddc539475f3820d4aea955206fc8c077 /stdlib/stdlib.h | |
parent | 6bdb5f22a0ee205c45d1f465a8b39179830a14cb (diff) | |
parent | c97164f05ba8fa5d2ebf30f1c2de083bc1ead1e1 (diff) |
Merge commit 'origin/release/2.10/master' into fedora/2.10/master
Diffstat (limited to 'stdlib/stdlib.h')
-rw-r--r-- | stdlib/stdlib.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/stdlib/stdlib.h b/stdlib/stdlib.h index 77bb860454..5b084efa3e 100644 --- a/stdlib/stdlib.h +++ b/stdlib/stdlib.h @@ -48,9 +48,9 @@ __BEGIN_DECLS as well as POSIX.1 use of `int' for the status word. */ # if defined __GNUC__ && !defined __cplusplus -# define __WAIT_INT(status) \ - (__extension__ ({ union { __typeof(status) __in; int __i; } __u; \ - __u.__in = (status); __u.__i; })) +# define __WAIT_INT(status) \ + (__extension__ (((union { __typeof(status) __in; int __i; }) \ + { .__in = (status) }).__i)) # else # define __WAIT_INT(status) (*(int *) &(status)) # endif |