mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-20 18:22:09 +01:00
Basic windows libevent fixes
svn:r3366
This commit is contained in:
parent
84deb5c690
commit
7d4a167c81
11
src/or/or.h
11
src/or/or.h
@ -96,11 +96,6 @@
|
||||
#ifdef HAVE_TIME_H
|
||||
#include <time.h>
|
||||
#endif
|
||||
#ifdef HAVE_EVENT_H
|
||||
#include <event.h>
|
||||
#else
|
||||
#error "Tor requires libevent to build."
|
||||
#endif
|
||||
|
||||
#ifdef MS_WINDOWS
|
||||
#if (_MSC_VER <= 1300)
|
||||
@ -119,6 +114,12 @@
|
||||
#define snprintf _snprintf
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_EVENT_H
|
||||
#include <event.h>
|
||||
#else
|
||||
#error "Tor requires libevent to build."
|
||||
#endif
|
||||
|
||||
#include "../common/crypto.h"
|
||||
#include "../common/tortls.h"
|
||||
#include "../common/log.h"
|
||||
|
@ -198,5 +198,7 @@
|
||||
/* Define to 1 iff unaligned int access is allowed */
|
||||
#define UNALIGNED_INT_ACCESS_OK
|
||||
|
||||
#define HAVE_EVENT_H
|
||||
|
||||
/* Version number of package */
|
||||
#define VERSION "0.1.0.0-alpha-cvs"
|
||||
|
Loading…
Reference in New Issue
Block a user