]> git.pond.sub.org Git - empserver/commitdiff
(UPDATE_TIME_LEN): New.
authorRon Koenderink <rkoenderink@yahoo.ca>
Thu, 19 Jul 2007 21:58:05 +0000 (21:58 +0000)
committerRon Koenderink <rkoenderink@yahoo.ca>
Thu, 19 Jul 2007 21:58:05 +0000 (21:58 +0000)
(update_time): Define with size to make MSVC happy.

include/server.h
src/lib/global/updtime.c

index dd24388e9467a7cf73be2292fc458d8ad933cc77..15908b44111f2c9f5d789d0c7d9154eec0c611fb 100644 (file)
@@ -40,7 +40,8 @@ extern int shutdown_pending;
 extern int update_pending;
 extern int update_running;
 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 update_main(void);
index 0c37c6ca46be64a64bdc0675ef39da7f063a35ff..7829ec668414c8a37e56f8495b4d2b0910754a30 100644 (file)
@@ -35,4 +35,4 @@
 
 #include "server.h"
 
-time_t update_time[];
+time_t update_time[UPDATE_TIME_LEN];