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
|
#endif
|
||||||
|
|
||||||
/* Older systems may not support WCONTINUED */
|
/* Older systems may not support WCONTINUED */
|
||||||
#ifndef WCONTINUED
|
#if !defined(WCONTINUED) && !defined(WIFCONTINUED)
|
||||||
# define WCONTINUED 0
|
# define WCONTINUED 0
|
||||||
# define WIFCONTINUED(x) 0
|
# define WIFCONTINUED(x) 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user