mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-26 01:53:47 +00:00
corrects compilation errors on non-mac unix derivatives
This commit is contained in:
parent
3d94cb5b93
commit
be4cf58fb8
3 changed files with 14 additions and 10 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue