Reviewed GLFW issue with ppoll() function

This commit is contained in:
Ray
2022-08-28 15:37:09 +02:00
parent 482dbfc52e
commit 568fe42cb1
3 changed files with 3 additions and 2 deletions

View File

@ -29,7 +29,7 @@
#define _GNU_SOURCE
#include "internal.h"
#include "posix_poll.h"
#include "posix_poll.h" // @raysan5: Required for poll(), ppoll()
#include <signal.h>
#include <time.h>

View File

@ -26,6 +26,7 @@
// It is fine to use C99 in this file because it will not be built with VS
//========================================================================
#define _GNU_SOURCE // @raysan5: Required for ppoll()
#include <poll.h>
GLFWbool _glfwPollPOSIX(struct pollfd* fds, nfds_t count, double* timeout);