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:
syntheticpp 2006-11-22 22:55:35 +00:00
parent 7dc499a4e1
commit a62f5f4078

View file

@ -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>