From: Vadim Zeitlin Date: Fri, 7 Jun 2002 21:00:19 +0000 (+0000) Subject: don't include winsock.h directly, this doesn't work (patch 565655) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/f5e2134e5b3a59e4b63d6f27289b41e10ad1ca03 don't include winsock.h directly, this doesn't work (patch 565655) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/utils.cpp b/src/msw/utils.cpp index 707c1d4664..24199aca27 100644 --- a/src/msw/utils.cpp +++ b/src/msw/utils.cpp @@ -38,17 +38,6 @@ #endif #endif //WX_PRECOMP -// In some mingws there is a missing extern "C" int the winsock header, -// so we put it here just to be safe. Note that this must appear _before_ -// #include "wx/msw/private.h" which itself includes , as this -// one in turn includes unless we define WIN32_LEAN_AND_MEAN. -// -#if defined(__WIN32__) && !defined(__TWIN32__) && !defined(__WXMICROWIN__) && ! (defined(__GNUWIN32__) && !defined(__MINGW32__)) -extern "C" { - #include // we use socket functions in wxGetFullHostName() -} -#endif - #include "wx/msw/private.h" // includes #include "wx/timer.h"