fix CMake build on Mac OSX

This commit is contained in:
Erwin Coumans
2014-04-28 11:11:45 -07:00
parent 55f045956e
commit 4996a64238
6 changed files with 39 additions and 19 deletions

View File

@@ -6,7 +6,7 @@
void myerrorprintf(const char* msg)
{
printf(msg);
printf("%s",msg);
}
static bool sVerboseWarning = true;
@@ -16,7 +16,7 @@ void mywarningprintf(const char* msg)
if (sVerboseWarning)
{
//OutputDebugStringA(msg);
printf(msg);
printf("%s",msg);
}
}
@@ -27,7 +27,7 @@ void myprintf(const char* msg)
if (sVerbosePrintf)
{
//OutputDebugStringA(msg);
printf(msg);
printf("%s",msg);
}
}