summaryrefslogtreecommitdiff
path: root/test/bench_httpclient.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-05-25 19:50:56 -0400
committerNick Mathewson <nickm@torproject.org>2011-05-25 20:03:15 -0400
commit9f560bfa114b8216af2dac28966eae53c0c97ed3 (patch)
treeb1af5a819ff6afe10e45b8e6b5fed83f84d2fcc0 /test/bench_httpclient.c
parent0e95950e605d24cff370d07db1a4fc40d15c31e3 (diff)
downloadlibevent-9f560bfa114b8216af2dac28966eae53c0c97ed3.tar.gz
Use "_WIN32", not WIN32: it's standard and we don't need to fake it
This patch was automatically generated with perl. Based on a patch by Peter Rosin.
Diffstat (limited to 'test/bench_httpclient.c')
-rw-r--r--test/bench_httpclient.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/bench_httpclient.c b/test/bench_httpclient.c
index 25db4a7d..73797554 100644
--- a/test/bench_httpclient.c
+++ b/test/bench_httpclient.c
@@ -26,7 +26,7 @@
*/
#include <sys/types.h>
-#ifdef WIN32
+#ifdef _WIN32
#include <winsock2.h>
#else
#include <sys/socket.h>
@@ -201,7 +201,7 @@ main(int argc, char **argv)
throughput = total_n_handled /
(total.tv_sec+ ((double)total.tv_usec)/1000000.0);
-#ifdef WIN32
+#ifdef _WIN32
#define I64_FMT "%I64d"
#define I64_TYP __int64
#else