Changed WIN32 to _WIN32 to handle some 64bits systems where WIN32 is not defined (_WIN32 should be defined both for 32bits and 64bits systems: http://msdn.microsoft.com/en-us/library/b0084kay.aspx).

git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1830 f169173b-cf89-36c8-b27e-44dbe73f0c83
This commit is contained in:
matlabbe
2014-10-03 01:40:17 +00:00
parent 61603cdf0f
commit d30c2baf51
14 changed files with 44 additions and 44 deletions
+2 -2
View File
@@ -25,7 +25,7 @@
///////////////////////
UTimer::UTimer()
{
#ifdef WIN32
#ifdef _WIN32
QueryPerformanceFrequency(&frequency_);
#endif
start(); // This will initialize the private counters
@@ -33,7 +33,7 @@ UTimer::UTimer()
UTimer::~UTimer() {}
#ifdef WIN32
#ifdef _WIN32
double UTimer::now()
{
LARGE_INTEGER count, freq;