diff options
author | Roland McGrath <roland@gnu.org> | 1994-10-14 02:06:45 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1994-10-14 02:06:45 +0000 |
commit | 7ca129da4e63f5860e384131adff905dd3dcf12a (patch) | |
tree | 67da226996574e7004cd3e2b74ed127b09d6f968 /posix | |
parent | 704130a13d3d6c2cf3c25a110881c8d7aa2babe3 (diff) |
(__WAIT_STATUS): Always use non-GCC defn, for now.
Diffstat (limited to 'posix')
-rw-r--r-- | posix/sys/wait.h | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/posix/sys/wait.h b/posix/sys/wait.h index 6c807330fe..b7800d7090 100644 --- a/posix/sys/wait.h +++ b/posix/sys/wait.h @@ -46,13 +46,18 @@ __BEGIN_DECLS #define __WAIT_INT(status) (*(int *) &(status)) #endif -/* This is the type of the argument to `wait'. With GCC 2.6.1 and later, - the funky union causes redeclarations with either `int *' or `union wait - *' to be allowed without complaint. __WAIT_STATUS_DEFN is the type used - in the actual function definitions. */ +/* This is the type of the argument to `wait'. + + NOTE: Since this functionality is volatile, I'm disabling the use of it for + now. + +With GCC 2.6.1 and later, the funky union causes redeclarations with either + `int *' or `union wait *' to be allowed without complaint. + __WAIT_STATUS_DEFN is the type used in the actual function + definitions. */ #if (!defined (__GNUC__) || __GNUC__ < 2 || \ - (__GNUC__ == 2 && __GNUC_MINOR__ < 6)) + /*(__GNUC__ == 2 && __GNUC_MINOR__ < 6)*/ 1) #define __WAIT_STATUS __ptr_t #define __WAIT_STATUS_DEFN __ptr_t #else |