diff options
author | Jan Beich | 2016-01-28 16:43:28 +0100 |
---|---|---|
committer | Nikias Bassen | 2016-01-28 16:43:28 +0100 |
commit | e2f4d0fd3ca51b3809b4982b4e5241ac5c477c5d (patch) | |
tree | 42971c8c0cd1dd3344cfbaee56e02e9d8319f727 /src | |
parent | 86dbc6cc25ddac32369ae5d47cec35cf16283ace (diff) | |
download | usbmuxd-e2f4d0fd3ca51b3809b4982b4e5241ac5c477c5d.tar.gz usbmuxd-e2f4d0fd3ca51b3809b4982b4e5241ac5c477c5d.tar.bz2 |
Try to autodetect ppoll(2) instead of hardcoding the list of platforms lacking it thus using fallback.
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -159,7 +159,7 @@ static void set_signal_handlers(void) sigaction(SIGUSR2, &sa, NULL); } -#if defined(__FreeBSD__) || defined(__APPLE__) +#ifndef HAVE_PPOLL static int ppoll(struct pollfd *fds, nfds_t nfds, const struct timespec *timeout, const sigset_t *sigmask) { int ready; |