Only define WCONTINUED and WIFCONTINUED if neither are already defined.
Fixes a warning on musl libc where WIFCONTINUED is defined in stdlib.h for some reason.
This commit is contained in:
@@ -318,8 +318,8 @@ extern int errno;
|
||||
#endif
|
||||
|
||||
/* Older systems may not support WCONTINUED */
|
||||
#ifndef WCONTINUED
|
||||
# define WCONTINUED 0
|
||||
#if !defined(WCONTINUED) && !defined(WIFCONTINUED)
|
||||
# define WCONTINUED 0
|
||||
# define WIFCONTINUED(x) 0
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user