1.1 --- a/lemon/time_measure.h Thu Apr 02 14:08:38 2015 +0200
1.2 +++ b/lemon/time_measure.h Tue Apr 28 18:12:39 2015 +0200
1.3 @@ -23,7 +23,9 @@
1.4 ///\file
1.5 ///\brief Tools for measuring cpu usage
1.6
1.7 -#ifdef WIN32
1.8 +#include <lemon/config.h>
1.9 +
1.10 +#ifdef LEMON_WIN32
1.11 #include <lemon/bits/windows.h>
1.12 #else
1.13 #include <unistd.h>
1.14 @@ -102,7 +104,7 @@
1.15 ///Read the current time values of the process
1.16 void stamp()
1.17 {
1.18 -#ifndef WIN32
1.19 +#ifndef LEMON_WIN32
1.20 timeval tv;
1.21 gettimeofday(&tv, 0);
1.22 rtime=tv.tv_sec+double(tv.tv_usec)/1e6;