corrects compilation errors on non-mac unix derivatives

This commit is contained in:
Azaezel 2019-01-01 15:41:59 -06:00
parent 3d94cb5b93
commit be4cf58fb8
3 changed files with 14 additions and 10 deletions

View file

@ -34,13 +34,14 @@
#include <stdarg.h>
#include <fcntl.h>
#include "console/engineAPI.h"
StdConsole *stdConsole = NULL;
ConsoleFunction(enableWinConsole, void, 2, 2, "enableWinConsole(bool);")
DefineEngineFunction(enableWinConsole, void, (bool _enable),, "enableWinConsole(bool);")
{
argc;
if (stdConsole)
stdConsole->enable(dAtob(argv[1]));
stdConsole->enable(_enable);
}
void StdConsole::create()