]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/gsockmsw.cpp
Warning fixes found under hardest mode of OpenWatcom. Seems clean in Borland, MinGW...
[wxWidgets.git] / src / msw / gsockmsw.cpp
index a378ddf05b3993b03e79f0b0dcd808572e803bb3..937b39039bca1af27f3c23a08c54e39ed8dd2c8a 100644 (file)
@@ -7,6 +7,13 @@
  * -------------------------------------------------------------------------
  */
 
+// 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)
  * 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