From 86afa786d407783041717b982abe8b673c92fca2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Wed, 11 Aug 2004 08:49:43 +0000 Subject: [PATCH] reverted my last change, pch problem is deeper and needs to be solved in Bakefile first git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/gsocket.cpp | 7 +++++++ src/msw/gsockmsw.cpp | 11 +++++++---- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/src/msw/gsocket.cpp b/src/msw/gsocket.cpp index 74484e2865..9b7bb39ed5 100644 --- a/src/msw/gsocket.cpp +++ b/src/msw/gsocket.cpp @@ -8,6 +8,13 @@ * ------------------------------------------------------------------------- */ +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + +#ifdef __BORLANDC__ + #pragma hdrstop +#endif + #ifdef _MSC_VER /* RPCNOTIFICATION_ROUTINE in rasasync.h (included from winsock.h), * warning: conditional expression is constant. diff --git a/src/msw/gsockmsw.cpp b/src/msw/gsockmsw.cpp index a378ddf05b..c9e25fd2f1 100644 --- a/src/msw/gsockmsw.cpp +++ b/src/msw/gsockmsw.cpp @@ -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) @@ -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 -- 2.50.0