Core: Fix Windows compile
--HG-- branch : trunk
This commit is contained in:
1 parent
51d8333ccc
commit
050f85b2c6
2 files changed
+2
-1
No files matched your search
@@ -1514,7 +1514,7 @@ struct BG_AV_NodeInfo
|
||||
uint16 PrevOwner;
|
||||
BG_AV_States State;
|
||||
BG_AV_States PrevState;
|
||||
uint Timer;
|
||||
uint32 Timer;
|
||||
bool Tower;
|
||||
};
|
||||
|
||||
|
||||
@@ -733,6 +733,7 @@ void CliRunnable::run()
|
||||
char *command_str ; // = fgets(commandbuf,sizeof(commandbuf),stdin);
|
||||
|
||||
#if PLATFORM == WINDOWS
|
||||
char commandbuf[256];
|
||||
command_str = fgets(commandbuf,sizeof(commandbuf),stdin);
|
||||
#else
|
||||
command_str = readline("TC>");
|
||||
|
||||
Reference in new issue
Block a user