X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/74e10fcc6ad3dd08e94996c2687f15725c95a0dd..07b1232d2c3de105855c17a46e4285547a1c736f:/include/wx/unix/private/timer.h?ds=sidebyside diff --git a/include/wx/unix/private/timer.h b/include/wx/unix/private/timer.h index 17776738c9..535ba7db95 100644 --- a/include/wx/unix/private/timer.h +++ b/include/wx/unix/private/timer.h @@ -11,6 +11,8 @@ #ifndef _WX_UNIX_PRIVATE_TIMER_H_ #define _WX_UNIX_PRIVATE_TIMER_H_ +#if wxUSE_TIMER + #include "wx/private/timer.h" // the type used for milliseconds is large enough for microseconds too but @@ -135,4 +137,6 @@ private: // returns the number of microseconds since the Epoch extern wxUsecClock_t wxGetLocalTimeUsec(); +#endif // wxUSE_TIMER + #endif // _WX_UNIX_PRIVATE_TIMER_H_