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
commitb6c5c8b8da186baf0bd226f5a5bb6be75fc63e68 (patch)
treed4dcc537b40b129bd0779bc31e1686e217a9585a /filedef.h
parentecd7ad00eb49a4056da853039c8872777326ef21 (diff)
downloadmake-b6c5c8b8da186baf0bd226f5a5bb6be75fc63e68.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 8712e986..93918189 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, \