X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/74e10fcc6ad3dd08e94996c2687f15725c95a0dd..a242662331987af5a7d4809cad11a568c8dc2d08:/src/unix/timerunx.cpp diff --git a/src/unix/timerunx.cpp b/src/unix/timerunx.cpp index c7734b4235..e742b79486 100644 --- a/src/unix/timerunx.cpp +++ b/src/unix/timerunx.cpp @@ -18,6 +18,8 @@ #include "wx/wxprec.h" +#if wxUSE_TIMER + #ifndef WX_PRECOMP #include "wx/log.h" #include "wx/module.h" @@ -35,7 +37,7 @@ #include "wx/unix/private/timer.h" #include "wx/listimpl.cpp" -WX_DEFINE_LIST(wxTimerList); +WX_DEFINE_LIST(wxTimerList) // trace mask for the debugging messages used here #define wxTrace_Timer wxT("timer") @@ -254,3 +256,5 @@ wxUsecClock_t wxGetLocalTimeUsec() return wxGetLocalTimeMillis() * 1000L; } +#endif // wxUSE_TIMER +