Skip to content

Commit

Permalink
POSIX: Fix undeclared function warning on Cygwin
Browse files Browse the repository at this point in the history
  • Loading branch information
elmindreda committed Mar 4, 2022
1 parent d78b0a4 commit adc202d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/posix_poll.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@
// It is fine to use C99 in this file because it will not be built with VS
//========================================================================

#if defined(__linux__)
#define _GNU_SOURCE
#endif
#define _GNU_SOURCE

#include "internal.h"

Expand Down

0 comments on commit adc202d

Please sign in to comment.