]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/unix/private/timer.h
moved wxUSE_CRASHREPORT checks to wx/msw/chkconf.h; added it to setup.h.in so that...
[wxWidgets.git] / include / wx / unix / private / timer.h
index 17776738c99c9a2054faac9557167cb9a6286a40..535ba7db95b3e6abc1b7f429bcc239c4945918ff 100644 (file)
@@ -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_