OSDN Git Service

modify for VS2008
[nethackexpress/trunk.git] / util / makedefs.c
index 23dace2..4cac55b 100644 (file)
@@ -543,8 +543,12 @@ const char *build_date;
 void
 do_date()
 {
+#ifdef KR1ED
        long clocktim = 0;
-       char *c, cbuf[60], buf[BUFSZ];
+#else
+       time_t clocktim;
+#endif
+       char *c, cbuf[256], buf[BUFSZ];
        const char *ul_sfx;
 
        filename[0]='\0';