clock/clock_t are not in std:: on msvc
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@786 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
parent
7dc499a4e1
commit
a62f5f4078
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ typedef long milliSec;
|
|||
#include <windows.h>
|
||||
milliSec getmilliSeconds()
|
||||
{
|
||||
return std::clock()*1000/CLOCKS_PER_SEC;
|
||||
return clock()*1000/CLOCKS_PER_SEC;
|
||||
}
|
||||
#else
|
||||
#include <unistd.h>
|
||||
|
|
Loading…
Reference in a new issue