This patch follows glibc. Original commit message: Author: Florian Weimer <fweimer@redhat.com> Date: Thu, 14 Apr 2016 06:54:57 +0000 Remove union wait [BZ #19613] The overloading approach in the W* macros was incompatible with integer expressions of a type different from int. Applications using union wait and these macros will have to migrate to the POSIX-specified int status type. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
		
			
				
	
	
		
			30 lines
		
	
	
		
			637 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			637 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /* sys/wait.h
 | |
| 
 | |
| This file is part of Cygwin.
 | |
| 
 | |
| This software is a copyrighted work licensed under the terms of the
 | |
| Cygwin license.  Please consult the file "CYGWIN_LICENSE" for
 | |
| details. */
 | |
| 
 | |
| #ifndef _SYS_WAIT_H
 | |
| #define _SYS_WAIT_H
 | |
| 
 | |
| #include <sys/types.h>
 | |
| #include <sys/resource.h>
 | |
| #include <cygwin/wait.h>
 | |
| 
 | |
| #ifdef __cplusplus
 | |
| extern "C" {
 | |
| #endif
 | |
| 
 | |
| pid_t wait (int *__status);
 | |
| pid_t waitpid (pid_t __pid, int *__status, int __options);
 | |
| pid_t wait3 (int *__status, int __options, struct rusage *__rusage);
 | |
| pid_t wait4 (pid_t __pid, int *__status, int __options, struct rusage *__rusage);
 | |
| 
 | |
| #ifdef __cplusplus
 | |
| }
 | |
| #endif
 | |
| 
 | |
| #endif /* _SYS_WAIT_H */
 |