diff options
| author | Ray <[email protected]> | 2022-08-28 15:37:09 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2022-08-28 15:37:09 +0200 |
| commit | 568fe42cb116bef9262066e9b8b7e2f462f8451a (patch) | |
| tree | 71b7df566cd3e97eddb84e14e793b50667ceb82a /src/external/glfw | |
| parent | 482dbfc52ea57b9241677c8a2e103526f0be926f (diff) | |
| download | raylib-568fe42cb116bef9262066e9b8b7e2f462f8451a.tar.gz raylib-568fe42cb116bef9262066e9b8b7e2f462f8451a.zip | |
Reviewed GLFW issue with `ppoll()` function
Diffstat (limited to 'src/external/glfw')
| -rw-r--r-- | src/external/glfw/src/posix_poll.c | 2 | ||||
| -rw-r--r-- | src/external/glfw/src/posix_poll.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/external/glfw/src/posix_poll.c b/src/external/glfw/src/posix_poll.c index f96f1410..d309292e 100644 --- a/src/external/glfw/src/posix_poll.c +++ b/src/external/glfw/src/posix_poll.c @@ -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> diff --git a/src/external/glfw/src/posix_poll.h b/src/external/glfw/src/posix_poll.h index 1effd1cd..860f108d 100644 --- a/src/external/glfw/src/posix_poll.h +++ b/src/external/glfw/src/posix_poll.h @@ -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); |
