summaryrefslogtreecommitdiff
path: root/filedef.h
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2000-03-26 06:56:54 +0000
committerPaul Smith <psmith@gnu.org>2000-03-26 06:56:54 +0000
commita81013175c2b335c295378b0c826bdbede9fd0c4 (patch)
treed4dcc537b40b129bd0779bc31e1686e217a9585a /filedef.h
parent75f879f37f8c8e6b671c558ab85b3926c96fbb0c (diff)
downloadgunmake-a81013175c2b335c295378b0c826bdbede9fd0c4.tar.gz
* Ignore attempt to change a file into itself.
* Define COFLAGS to avoid unknown variable warning. * Fix some usec problems on UnixWare. * Don't remove .INTERMEDIATE targets specified on the command line.
Diffstat (limited to 'filedef.h')
-rw-r--r--filedef.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/filedef.h b/filedef.h
index 8712e98..9391818 100644
--- a/filedef.h
+++ b/filedef.h
@@ -117,9 +117,9 @@ extern void set_command_state PARAMS ((struct file *file, int state));
extern void notice_finished_file PARAMS ((struct file *file));
-#if ST_MTIM_NSEC
+#ifdef ST_MTIM_NSEC
# define FILE_TIMESTAMP_STAT_MODTIME(st) \
- FILE_TIMESTAMP_FROM_S_AND_NS ((st).st_mtim.tv_sec, \
+ FILE_TIMESTAMP_FROM_S_AND_NS ((st).st_mtime, \
(st).st_mtim.ST_MTIM_NSEC)
# define FILE_TIMESTAMPS_PER_S \
MIN ((FILE_TIMESTAMP) 1000000000, \