isolate Unix-only code with if guards
This commit is contained in:
@@ -94,10 +94,12 @@ public:
|
|||||||
wxVector<wxQtFDIONotifier*> m_qtNotifiers;
|
wxVector<wxQtFDIONotifier*> m_qtNotifiers;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#if defined(__UNIX__)
|
||||||
wxFDIOManager *wxGUIAppTraits::GetFDIOManager()
|
wxFDIOManager *wxGUIAppTraits::GetFDIOManager()
|
||||||
{
|
{
|
||||||
static QtFDIOManager s_manager;
|
static QtFDIOManager s_manager;
|
||||||
return &s_manager;
|
return &s_manager;
|
||||||
}
|
}
|
||||||
|
#endif // __UNIX__
|
||||||
|
|
||||||
#endif // wxUSE_SOCKETS && __UNIX__
|
#endif // wxUSE_SOCKETS
|
||||||
|
Reference in New Issue
Block a user