stdlib.h is needed for malloc
This commit is contained in:
parent
2cb1a2ac97
commit
38e624af66
1 changed files with 2 additions and 2 deletions
|
@ -19,7 +19,7 @@
|
|||
#endif
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
//#include <stdlib.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <string>
|
||||
#include "common/Strings.h"
|
||||
|
@ -48,7 +48,7 @@ inline void debuglogfilename(const int intMessage, const std::string strMessage,
|
|||
#ifdef _WINDOWS
|
||||
static bool firstRun = true;
|
||||
std::ofstream file;
|
||||
|
||||
|
||||
if (firstRun) {
|
||||
file.open(filename.c_str(), std::ios::out);
|
||||
firstRun = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue