From a81013175c2b335c295378b0c826bdbede9fd0c4 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Sun, 26 Mar 2000 06:56:54 +0000 Subject: * 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. --- filedef.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'filedef.h') 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, \ -- cgit v1.2.3