X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/74e10fcc6ad3dd08e94996c2687f15725c95a0dd..5a1e0e91a1ca5ec98b0eeb335cda757d1261ed08:/src/unix/timerunx.cpp?ds=sidebyside diff --git a/src/unix/timerunx.cpp b/src/unix/timerunx.cpp index c7734b4235..9c7468ea53 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" @@ -254,3 +256,5 @@ wxUsecClock_t wxGetLocalTimeUsec() return wxGetLocalTimeMillis() * 1000L; } +#endif // wxUSE_TIMER +