From 1a82956eaeb7ba5fde121755d0042c42c2043069 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Sun, 30 Jul 2000 18:26:42 +0000 Subject: * Various fixes; see the ChangeLog. --- filedef.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'filedef.h') diff --git a/filedef.h b/filedef.h index 19f24f8..4a5b9dd 100644 --- a/filedef.h +++ b/filedef.h @@ -72,6 +72,8 @@ struct file } command_state ENUM_BITFIELD (2); unsigned int precious:1; /* Non-0 means don't delete file on quit */ + unsigned int low_resolution_time:1; /* Nonzero if this file's time stamp + has only one-second resolution. */ unsigned int tried_implicit:1; /* Nonzero if have searched for implicit rule for making this file; don't search again. */ @@ -110,13 +112,10 @@ extern void set_command_state PARAMS ((struct file *file, int state)); extern void notice_finished_file PARAMS ((struct file *file)); -#ifdef ST_MTIM_NSEC -# define FILE_TIMESTAMP_HI_RES \ - (2147483647 < INTEGER_TYPE_MAXIMUM (FILE_TIMESTAMP) >> 31) +#if FILE_TIMESTAMP_HI_RES # define FILE_TIMESTAMP_STAT_MODTIME(fname, st) \ file_timestamp_cons (fname, (st).st_mtime, (st).st_mtim.ST_MTIM_NSEC) #else -# define FILE_TIMESTAMP_HI_RES 0 # define FILE_TIMESTAMP_STAT_MODTIME(fname, st) \ file_timestamp_cons (fname, (st).st_mtime, 0) #endif -- cgit v1.2.3