From 1b6a8925eb3e2b184684b10bc05d84db5c0b784e Mon Sep 17 00:00:00 2001 From: Marcos Pinto Date: Sat, 8 Sep 2007 18:47:31 +0000 Subject: [PATCH] tweak for win python bug --- src/deluge_core.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/deluge_core.cpp b/src/deluge_core.cpp index a31306ef2..8d002720b 100644 --- a/src/deluge_core.cpp +++ b/src/deluge_core.cpp @@ -37,7 +37,11 @@ // //----------------- #include - +#if defined(_WIN32) +# if defined(socklen_t) +# undef socklen_t +# endif +#endif #include #include #include