lemon/time_measure.h
changeset 509 c5919679af17
parent 440 88ed40ad0d4f
parent 481 daddd623ac9a
child 515 b9b3473327e3
     1.1 --- a/lemon/time_measure.h	Fri Jan 23 16:42:07 2009 +0000
     1.2 +++ b/lemon/time_measure.h	Tue Feb 10 17:37:59 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