mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-11 05:14:46 -04:00
Remove event-private.h and switch to evconfig-private.h
This commit is contained in:
parent
868f88874f
commit
9b27b30720
@ -125,10 +125,7 @@ if SIGNAL_SUPPORT
|
|||||||
SYS_SRC += signal.c
|
SYS_SRC += signal.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
BUILT_SOURCES = ./include/event2/event-config.h event-private.h
|
BUILT_SOURCES = ./include/event2/event-config.h
|
||||||
|
|
||||||
event-private.h: config.h
|
|
||||||
cp config.h $@
|
|
||||||
|
|
||||||
./include/event2/event-config.h: config.h
|
./include/event2/event-config.h: config.h
|
||||||
@MKDIR_P@ ./include/event2
|
@MKDIR_P@ ./include/event2
|
||||||
@ -196,7 +193,7 @@ noinst_HEADERS = util-internal.h mm-internal.h ipv6-internal.h \
|
|||||||
minheap-internal.h log-internal.h evsignal-internal.h evmap-internal.h \
|
minheap-internal.h log-internal.h evsignal-internal.h evmap-internal.h \
|
||||||
changelist-internal.h iocp-internal.h \
|
changelist-internal.h iocp-internal.h \
|
||||||
ratelim-internal.h \
|
ratelim-internal.h \
|
||||||
event-private.h \
|
evconfig-private.h \
|
||||||
WIN32-Code/event2/event-config.h \
|
WIN32-Code/event2/event-config.h \
|
||||||
WIN32-Code/tree.h \
|
WIN32-Code/tree.h \
|
||||||
compat/sys/queue.h
|
compat/sys/queue.h
|
||||||
@ -211,5 +208,5 @@ doxygen: FORCE
|
|||||||
doxygen $(srcdir)/Doxyfile
|
doxygen $(srcdir)/Doxyfile
|
||||||
FORCE:
|
FORCE:
|
||||||
|
|
||||||
DISTCLEANFILES = *~ libevent.pc ./include/event2/event-config.h event-private.h
|
DISTCLEANFILES = *~ libevent.pc ./include/event2/event-config.h
|
||||||
|
|
||||||
|
2
buffer.c
2
buffer.c
@ -26,7 +26,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "event2/event-config.h"
|
#include "event2/event-config.h"
|
||||||
#include "event-private.h"
|
#include "evconfig-private.h"
|
||||||
|
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
#include <winsock2.h>
|
#include <winsock2.h>
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
/* With glibc we need to define this to get PTHREAD_MUTEX_RECURSIVE.
|
/* With glibc we need to define this to get PTHREAD_MUTEX_RECURSIVE.
|
||||||
* _GNU_SOURCE, now from event-private
|
* _GNU_SOURCE, now from event-private
|
||||||
*/
|
*/
|
||||||
#include "event-private.h"
|
#include "evconfig-private.h"
|
||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
|
|
||||||
struct event_base;
|
struct event_base;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user