(UPDATE_TIME_LEN): New.

(update_time): Define with size to make MSVC happy.
This commit is contained in:
Ron Koenderink 2007-07-19 21:58:05 +00:00
parent 032f14cf7a
commit 228a545ff3
2 changed files with 3 additions and 2 deletions

View file

@ -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);

View file

@ -35,4 +35,4 @@
#include "server.h" #include "server.h"
time_t update_time[]; time_t update_time[UPDATE_TIME_LEN];