OSDN Git Service
(root)
/
nethackexpress
/
trunk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
modify for VS2008
[nethackexpress/trunk.git]
/
util
/
makedefs.c
diff --git
a/util/makedefs.c
b/util/makedefs.c
index
23dace2
..
4cac55b
100644
(file)
--- a/
util/makedefs.c
+++ b/
util/makedefs.c
@@
-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';