diff options
Diffstat (limited to 'posix/sys')
-rw-r--r-- | posix/sys/wait.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/posix/sys/wait.h b/posix/sys/wait.h index 4774885ecf..e931405ecb 100644 --- a/posix/sys/wait.h +++ b/posix/sys/wait.h @@ -51,7 +51,7 @@ __BEGIN_DECLS allowed without complaint. __WAIT_STATUS_DEFN is the type used in the actual function definitions. */ -# if !defined __GNUC__ || __GNUC__ < 2 +# if !defined __GNUC__ || __GNUC__ < 2 || defined __cplusplus # define __WAIT_STATUS __ptr_t # define __WAIT_STATUS_DEFN __ptr_t # else |