Added explanatory comment

This commit is contained in:
Eric J Korpela 2014-05-08 14:17:03 -07:00
parent 31d9b7527c
commit f0626cf5fc
1 changed files with 8 additions and 0 deletions

View File

@ -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