X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5e1eac149fc18f51d5a25ac00d957ccaad87b3fa..bd2e08d06528b2014a4acf878e91fee4696d0666:/src/common/fdiodispatcher.cpp?ds=sidebyside diff --git a/src/common/fdiodispatcher.cpp b/src/common/fdiodispatcher.cpp index f6a131dc01..65c862cf88 100644 --- a/src/common/fdiodispatcher.cpp +++ b/src/common/fdiodispatcher.cpp @@ -49,13 +49,13 @@ wxFDIODispatcher *wxFDIODispatcher::Get() { if ( !gs_dispatcher ) { -#ifdef wxUSE_EPOLL_DISPATCHER +#if wxUSE_EPOLL_DISPATCHER gs_dispatcher = wxEpollDispatcher::Create(); if ( !gs_dispatcher ) #endif // wxUSE_EPOLL_DISPATCHER #if wxUSE_SELECT_DISPATCHER gs_dispatcher = wxSelectDispatcher::Create(); -#endif // wxUSE_WCHAR_T +#endif // wxUSE_SELECT_DISPATCHER } wxASSERT_MSG( gs_dispatcher, _T("failed to create any IO dispatchers") );