summaryrefslogtreecommitdiffstats
path: root/libevent/test/tinytest_local.h
diff options
context:
space:
mode:
Diffstat (limited to 'libevent/test/tinytest_local.h')
-rw-r--r--libevent/test/tinytest_local.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/libevent/test/tinytest_local.h b/libevent/test/tinytest_local.h
new file mode 100644
index 0000000..87ec2fa
--- /dev/null
+++ b/libevent/test/tinytest_local.h
@@ -0,0 +1,12 @@
+
+#include "util-internal.h"
+#ifdef _WIN32
+#include <winsock2.h>
+#endif
+
+#include "event2/util.h"
+
+#ifdef snprintf
+#undef snprintf
+#endif
+#define snprintf evutil_snprintf