Core: Fix Windows compile
--HG-- branch : trunk
This commit is contained in:
@@ -1514,7 +1514,7 @@ struct BG_AV_NodeInfo
|
|||||||
uint16 PrevOwner;
|
uint16 PrevOwner;
|
||||||
BG_AV_States State;
|
BG_AV_States State;
|
||||||
BG_AV_States PrevState;
|
BG_AV_States PrevState;
|
||||||
uint Timer;
|
uint32 Timer;
|
||||||
bool Tower;
|
bool Tower;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -733,6 +733,7 @@ void CliRunnable::run()
|
|||||||
char *command_str ; // = fgets(commandbuf,sizeof(commandbuf),stdin);
|
char *command_str ; // = fgets(commandbuf,sizeof(commandbuf),stdin);
|
||||||
|
|
||||||
#if PLATFORM == WINDOWS
|
#if PLATFORM == WINDOWS
|
||||||
|
char commandbuf[256];
|
||||||
command_str = fgets(commandbuf,sizeof(commandbuf),stdin);
|
command_str = fgets(commandbuf,sizeof(commandbuf),stdin);
|
||||||
#else
|
#else
|
||||||
command_str = readline("TC>");
|
command_str = readline("TC>");
|
||||||
|
|||||||
Reference in New Issue
Block a user