From 5f109709da1d477ed8071617b88074121e40223f Mon Sep 17 00:00:00 2001 From: Mattia Barbon Date: Wed, 10 Sep 2003 09:14:01 +0000 Subject: [PATCH] Don't compile smapi.cpp for non-MSW platforms. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- contrib/src/net/smapi.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/contrib/src/net/smapi.cpp b/contrib/src/net/smapi.cpp index 3126be5a6d..8ac7765ac5 100644 --- a/contrib/src/net/smapi.cpp +++ b/contrib/src/net/smapi.cpp @@ -20,6 +20,8 @@ #pragma hdrstop #endif +#ifdef __WXMSW__ + #ifndef WX_PRECOMP #include "wx/wx.h" #endif @@ -487,3 +489,5 @@ long wxMapiSession::GetLastError() const { return m_data->m_nLastError; } + +#endif // __WXMSW__ -- 2.50.0