mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
__USE_GNU -> _GNU_SOURCE
This commit is contained in:
parent
320da42a60
commit
a9e528b315
1 changed files with 2 additions and 2 deletions
|
@ -65,8 +65,8 @@ typedef SSIZE_T ssize_t;
|
|||
#else // NOT WIN32
|
||||
|
||||
/* to get ppoll() */
|
||||
#ifndef __USE_GNU
|
||||
#define __USE_GNU
|
||||
#ifndef _GNU_SOURCE
|
||||
#define _GNU_SOURCE
|
||||
#endif
|
||||
#include <poll.h>
|
||||
#include <unistd.h>
|
||||
|
|
Loading…
Add table
Reference in a new issue