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

View File

@@ -23,7 +23,7 @@
#include <string.h>
#include <stdio.h>
#ifdef WIN32
#ifdef _WIN32
#include <windows.h>
#endif
@@ -262,7 +262,7 @@ std::string uFormatv (const char *fmt, va_list args)
va_list argsTmp;
while (1) {
#if defined(WIN32) && !defined(__MINGW32__)
#if defined(_WIN32) && !defined(__MINGW32__)
argsTmp = args;
#else
va_copy(argsTmp, args);
@@ -299,7 +299,7 @@ std::string uFormat (const char *fmt, ...)
return buf;
}
#ifdef WIN32
#ifdef _WIN32
// returned whar_t * must be deleted : delete [] wText;
wchar_t * createWCharFromChar(const char * text)
{