changeset 489 | 2a136de8e3f2 |
parent 440 | 88ed40ad0d4f |
parent 484 | daddd623ac9a |
child 492 | b9b3473327e3 |
1.1 --- a/lemon/time_measure.h Fri Feb 13 13:29:28 2009 +0100 1.2 +++ b/lemon/time_measure.h Fri Feb 13 16:05:21 2009 +0000 1.3 @@ -24,11 +24,16 @@ 1.4 ///\brief Tools for measuring cpu usage 1.5 1.6 #ifdef WIN32 1.7 +#ifndef WIN32_LEAN_AND_MEAN 1.8 #define WIN32_LEAN_AND_MEAN 1.9 +#endif 1.10 +#ifndef NOMINMAX 1.11 #define NOMINMAX 1.12 +#endif 1.13 #include <windows.h> 1.14 #include <cmath> 1.15 #else 1.16 +#include <unistd.h> 1.17 #include <sys/times.h> 1.18 #include <sys/time.h> 1.19 #endif