X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/385e8575dd1f9219fb0e3f7fa26ffe4c24d2fdbb..12bb29f5432174ecbd65549bda832d70d34a98ae:/src/gtk/sockgtk.cpp 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__