X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cc972ac67ece48cce61e5a991828970d705313b0..46a5010a06b09318878c33a0a6a532f419ea063d:/src/msw/utils.cpp?ds=sidebyside diff --git a/src/msw/utils.cpp b/src/msw/utils.cpp index 5b083fbd03..b70c622689 100644 --- a/src/msw/utils.cpp +++ b/src/msw/utils.cpp @@ -180,9 +180,7 @@ bool wxGetFullHostName(wxChar *buf, int maxSize) // shouldn't use winsock.dll (a.k.a. ws2_32.dll) at all so only use this // code if we link with it anyhow #if wxUSE_SOCKETS - //FIXME __DIGITALMARS__ why is using sockets not properly turned off in setup.h ?? - // find which library should contain sockets for Digital Mars CE April 2003 -#ifndef __DIGITALMARS__ + WSADATA wsa; if ( WSAStartup(MAKEWORD(1, 1), &wsa) == 0 ) { @@ -218,7 +216,6 @@ bool wxGetFullHostName(wxChar *buf, int maxSize) return TRUE; } } -#endif //__DIGITALMARS__ #endif // wxUSE_SOCKETS