X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c90cc42e987809e59873d1fdb4630be71aa0a32a..e5d4ef7410d597bdf6d426ceedc656dbefd69e90:/src/msw/gsockmsw.cpp diff --git a/src/msw/gsockmsw.cpp b/src/msw/gsockmsw.cpp index 81affd4f96..937b39039b 100644 --- a/src/msw/gsockmsw.cpp +++ b/src/msw/gsockmsw.cpp @@ -1,12 +1,19 @@ /* ------------------------------------------------------------------------- * Project: GSocket (Generic Socket) - * Name: gsockmsw.c + * Name: gsockmsw.cpp * Author: Guillermo Rodriguez Garcia * Purpose: GSocket GUI-specific MSW code * CVSID: $Id$ * ------------------------------------------------------------------------- */ +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + +#ifdef __BORLANDC__ + #pragma hdrstop +#endif + /* * TODO: for WinCE we need to replace WSAAsyncSelect * (Windows message-based notification of network events for a socket) @@ -15,10 +22,6 @@ * using select() and sends a message to the main thread. */ -/* - * PLEASE don't put C++ comments here - this is a C source file. - */ - /* including rasasync.h (included from windows.h itself included from * wx/setup.h and/or winsock.h results in this warning for * RPCNOTIFICATION_ROUTINE @@ -55,7 +58,7 @@ #include "wx/msw/gsockmsw.h" #include "wx/gsocket.h" -extern "C" HINSTANCE wxGetInstance(void); +extern "C" WXDLLIMPEXP_BASE HINSTANCE wxGetInstance(void); #define INSTANCE wxGetInstance() #else