mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-08 11:53:00 -04:00
Remove internal usage of _GNU_SOURCE
This commit is contained in:
parent
2c5566a9c7
commit
3b265412b7
@ -25,8 +25,10 @@
|
||||
*/
|
||||
#include "event2/event-config.h"
|
||||
|
||||
/* With glibc we need to define this to get PTHREAD_MUTEX_RECURSIVE. */
|
||||
#define _GNU_SOURCE
|
||||
/* With glibc we need to define this to get PTHREAD_MUTEX_RECURSIVE.
|
||||
* _GNU_SOURCE, now from event-private
|
||||
*/
|
||||
#include "event-private.h"
|
||||
#include <pthread.h>
|
||||
|
||||
struct event_base;
|
||||
|
Loading…
x
Reference in New Issue
Block a user