From f0626cf5fcf26fcc139d65805f5f1370dba184b6 Mon Sep 17 00:00:00 2001 From: Eric J Korpela Date: Thu, 8 May 2014 14:17:03 -0700 Subject: [PATCH] Added explanatory comment --- lib/boinc_win.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/boinc_win.h b/lib/boinc_win.h index 0bc76047d8..ed01c1791b 100644 --- a/lib/boinc_win.h +++ b/lib/boinc_win.h @@ -50,6 +50,14 @@ #define HAVE_STRCASECMP 1 #endif +/* + * WINSOCK vs WINSOCK2 could be an issue in compiles because we include multiple + * packages that have the same choice. The wx currently packed with BOINC + * uses WINSOCK, so we have to not include WINSOCK2 by undefining + * HAVE_WINSOCK2_H. That limits what CURL in its header file as well. We might + * need something more complicated if CURL and wxWidgets decide to go in + * opposite directions. + */ #define USE_WINSOCK 1 #undef HAVE_WINSOCK2_H #define HAVE_WINSOCK_H 1