diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/common/Timer.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/common/Timer.cpp b/lib/common/Timer.cpp index 137ad45f..c0451818 100644 --- a/lib/common/Timer.cpp +++ b/lib/common/Timer.cpp @@ -8,12 +8,16 @@ // // -------------------------------------------------------------------------- +#include "Box.h" + #ifdef WIN32 - #define _WIN32_WINNT 0x0500 +# ifndef _WIN32_WINNT +# define _WIN32_WINNT 0x0500 +# elif _WIN32_WINNT < 0x0500 +# error Timers require at least Windows 2000 headers +# endif #endif -#include "Box.h" - #include <signal.h> #include <cstring> |