summaryrefslogtreecommitdiff
path: root/filedef.h
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2011-11-13 23:39:54 +0000
committerPaul Smith <psmith@gnu.org>2011-11-13 23:39:54 +0000
commite31cd9fd3f2ab8f4a8c1d0586c13b3b3ad4d4119 (patch)
tree35883fc2128e735d7fb5fa77624a12e99fca104e /filedef.h
parent77fb17710215e989fcb388e312125805bb07b42d (diff)
downloadmake-e31cd9fd3f2ab8f4a8c1d0586c13b3b3ad4d4119.tar.gz
Enable high-resolution timestamps for Darwin (Mac OSX)
Patch provided by Troy Runkel <Troy.Runkel@mathworks.com>
Diffstat (limited to 'filedef.h')
-rw-r--r--filedef.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/filedef.h b/filedef.h
index 98e3f49f..173e7538 100644
--- a/filedef.h
+++ b/filedef.h
@@ -118,7 +118,7 @@ void print_file_data_base (void);
#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)
+ file_timestamp_cons (fname, (st).st_mtime, (st).ST_MTIM_NSEC)
#else
# define FILE_TIMESTAMP_STAT_MODTIME(fname, st) \
file_timestamp_cons (fname, (st).st_mtime, 0)