diff options
author | Paul Smith <psmith@gnu.org> | 2000-07-30 18:26:42 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2000-07-30 18:26:42 +0000 |
commit | 1a82956eaeb7ba5fde121755d0042c42c2043069 (patch) | |
tree | 428a6561e292db9ab7285023d9e9727eaeac2be1 /filedef.h | |
parent | 3c132f10f39f1675607d50f5c75669ec64e13bb5 (diff) | |
download | gunmake-1a82956eaeb7ba5fde121755d0042c42c2043069.tar.gz |
* Various fixes; see the ChangeLog.
Diffstat (limited to 'filedef.h')
-rw-r--r-- | filedef.h | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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 |