mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-09 20:41:27 -04:00
Fix two windows compilation bugs.
svn:r1171
This commit is contained in:
parent
915193e7df
commit
4e8cdc6f08
@ -11,6 +11,7 @@
|
||||
#define _HTTP_INTERNAL_H_
|
||||
|
||||
#include "event2/event_struct.h"
|
||||
#include "util-internal.h"
|
||||
|
||||
#define HTTP_CONNECT_TIMEOUT 45
|
||||
#define HTTP_WRITE_TIMEOUT 50
|
||||
|
@ -263,6 +263,7 @@ test_evbuffer_reference(void *ptr)
|
||||
evbuffer_free(src);
|
||||
}
|
||||
|
||||
#ifndef WIN32
|
||||
static void
|
||||
test_evbuffer_add_file(void *ptr)
|
||||
{
|
||||
@ -297,6 +298,7 @@ test_evbuffer_add_file(void *ptr)
|
||||
EVUTIL_CLOSESOCKET(pair[1]);
|
||||
evbuffer_free(src);
|
||||
}
|
||||
#endif
|
||||
|
||||
static void
|
||||
test_evbuffer_readln(void *ptr)
|
||||
|
Loading…
x
Reference in New Issue
Block a user