X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/385e8575dd1f9219fb0e3f7fa26ffe4c24d2fdbb..bb996f289574defb0ae4339ae8e46ff3cf6fa54c:/src/gtk/sockgtk.cpp?ds=inline diff --git a/src/gtk/sockgtk.cpp b/src/gtk/sockgtk.cpp index 1d42a36482..c0f1b4f6cb 100644 --- a/src/gtk/sockgtk.cpp +++ b/src/gtk/sockgtk.cpp @@ -12,7 +12,7 @@ // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" -#if wxUSE_SOCKETS +#if wxUSE_SOCKETS && defined(__UNIX__) #include "wx/apptrait.h" #include "wx/private/fdiomanager.h" @@ -67,4 +67,4 @@ wxFDIOManager *wxGUIAppTraits::GetFDIOManager() return &s_manager; } -#endif // wxUSE_SOCKETS +#endif // wxUSE_SOCKETS && __UNIX__