Commit 2733d610 authored by Mygod's avatar Mygod

Update libevent to 2.1.8

parent 42e93039
...@@ -85,21 +85,13 @@ include $(BUILD_STATIC_LIBRARY) ...@@ -85,21 +85,13 @@ include $(BUILD_STATIC_LIBRARY)
include $(CLEAR_VARS) include $(CLEAR_VARS)
LIBEVENT_SOURCES := \ LIBEVENT_SOURCES := \
buffer.c \ buffer.c bufferevent.c event.c \
bufferevent.c bufferevent_filter.c \ bufferevent_sock.c bufferevent_ratelim.c \
bufferevent_pair.c bufferevent_ratelim.c \ evthread.c log.c evutil.c evutil_time.c evmap.c epoll.c poll.c signal.c select.c
bufferevent_sock.c epoll.c \
epoll_sub.c evdns.c event.c \
event_tagging.c evmap.c \
evrpc.c evthread.c \
evthread_pthread.c evutil.c \
evutil_rand.c http.c \
listener.c log.c poll.c \
select.c signal.c strlcpy.c
LOCAL_MODULE := event LOCAL_MODULE := event
LOCAL_SRC_FILES := $(addprefix libevent/, $(LIBEVENT_SOURCES)) LOCAL_SRC_FILES := $(addprefix libevent/, $(LIBEVENT_SOURCES))
LOCAL_CFLAGS := -O2 -D_EVENT_HAVE_ARC4RANDOM -I$(LOCAL_PATH)/libevent \ LOCAL_CFLAGS := -O2 -I$(LOCAL_PATH)/libevent \
-I$(LOCAL_PATH)/libevent/include \ -I$(LOCAL_PATH)/libevent/include \
include $(BUILD_STATIC_LIBRARY) include $(BUILD_STATIC_LIBRARY)
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h>
#include <unistd.h> #include <unistd.h>
#include <errno.h> #include <errno.h>
#include <signal.h> #include <signal.h>
......
Subproject commit 359ca847a649b9c318f9217c0755484d98ecb779 Subproject commit f29f07bc8c43eec96f227e6f6eede32b3af66168
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment