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__