X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=nucleus%2Flibrary%2Ftimely%2Ftimer_driver.h;h=1cf2932fdd20f5d632988b57c9d91c0c6300063d;hb=ef338226ccf699c8d8a149d9b74e9888175c7099;hp=ae2b9735c36dc7d73871caa99ef751777f3efb7b;hpb=457b128b77b5b4a0b7dd3094de543de2ce1477ad;p=feisty_meow.git diff --git a/nucleus/library/timely/timer_driver.h b/nucleus/library/timely/timer_driver.h index ae2b9735..1cf2932f 100644 --- a/nucleus/library/timely/timer_driver.h +++ b/nucleus/library/timely/timer_driver.h @@ -69,7 +69,7 @@ public: // internal methods. -#ifdef __WIN32__ +#if defined(_MSC_VER) basis::un_int *real_timer_id(); //!< provides the timer id for comparison on windows platforms. #endif @@ -83,10 +83,9 @@ public: private: driven_objects_list *_timers; //!< timer hooked objects. basis::mutex *_lock; //!< protects list of timers. -#ifdef __UNIX__ +#if defined(__UNIX__) || defined(__GNU_WINDOWS__) signalling_thread *_prompter; //!< drives our timers. -#endif -#ifdef __WIN32__ +#else basis::un_int *_real_timer_id; //!< used for storing window timer handle. #endif bool _in_timer; //!< true if we're handling the timer right now.