// 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 )
{
return TRUE;
}
}
-#endif //__DIGITALMARS__
#endif // wxUSE_SOCKETS
static HCURSOR gs_wxBusyCursorOld = 0; // old cursor
static int gs_wxBusyCursorCount = 0;
+#ifdef __DIGITALMARS__
+extern "C" HCURSOR wxGetCurrentBusyCursor()
+#else
extern HCURSOR wxGetCurrentBusyCursor()
+#endif
{
return gs_wxBusyCursor;
}