(UPDATE_TIME_LEN): New.
(update_time): Define with size to make MSVC happy.
This commit is contained in:
parent
032f14cf7a
commit
228a545ff3
2 changed files with 3 additions and 2 deletions
|
@ -40,7 +40,8 @@ extern int shutdown_pending;
|
||||||
extern int update_pending;
|
extern int update_pending;
|
||||||
extern int update_running;
|
extern int update_running;
|
||||||
extern empth_rwlock_t *update_lock;
|
extern empth_rwlock_t *update_lock;
|
||||||
extern time_t update_time[16];
|
#define UPDATE_TIME_LEN 16
|
||||||
|
extern time_t update_time[UPDATE_TIME_LEN];
|
||||||
|
|
||||||
void market_init(void);
|
void market_init(void);
|
||||||
void update_main(void);
|
void update_main(void);
|
||||||
|
|
|
@ -35,4 +35,4 @@
|
||||||
|
|
||||||
#include "server.h"
|
#include "server.h"
|
||||||
|
|
||||||
time_t update_time[];
|
time_t update_time[UPDATE_TIME_LEN];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue