summaryrefslogtreecommitdiff
path: root/libs/libevent/docs/test/tinytest_local.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/libevent/docs/test/tinytest_local.h')
-rw-r--r--libs/libevent/docs/test/tinytest_local.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/libs/libevent/docs/test/tinytest_local.h b/libs/libevent/docs/test/tinytest_local.h
new file mode 100644
index 0000000000..87ec2fa67e
--- /dev/null
+++ b/libs/libevent/docs/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