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>
|
#include <windows.h>
|
||||||
milliSec getmilliSeconds()
|
milliSec getmilliSeconds()
|
||||||
{
|
{
|
||||||
return std::clock()*1000/CLOCKS_PER_SEC;
|
return clock()*1000/CLOCKS_PER_SEC;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue