mirror of
https://git.musl-libc.org/git/musl
synced 2025-01-06 23:02:10 +03:00
expose ppoll in default feature profile
the ppoll function has been accepted as a future part of the standard as the outcome of Austin Group tracker issue 1263. at some point it should be exposed unconditionally, but for now, expose it in the default feature profile.
This commit is contained in:
parent
07af01816d
commit
f247462b08
@ -36,7 +36,7 @@ struct pollfd {
|
||||
|
||||
int poll (struct pollfd *, nfds_t, int);
|
||||
|
||||
#ifdef _GNU_SOURCE
|
||||
#ifdef _BSD_SOURCE
|
||||
#define __NEED_time_t
|
||||
#define __NEED_struct_timespec
|
||||
#define __NEED_sigset_t
|
||||
@ -45,7 +45,7 @@ int ppoll(struct pollfd *, nfds_t, const struct timespec *, const sigset_t *);
|
||||
#endif
|
||||
|
||||
#if _REDIR_TIME64
|
||||
#ifdef _GNU_SOURCE
|
||||
#ifdef _BSD_SOURCE
|
||||
__REDIR(ppoll, __ppoll_time64);
|
||||
#endif
|
||||
#endif
|
||||
|
@ -1,4 +1,4 @@
|
||||
#define _GNU_SOURCE
|
||||
#define _BSD_SOURCE
|
||||
#include <poll.h>
|
||||
#include <signal.h>
|
||||
#include <errno.h>
|
||||
|
Loading…
Reference in New Issue
Block a user