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
commitbfc3e1ca7c0c1504c9873ee1baacce73330b037e (patch)
tree35883fc2128e735d7fb5fa77624a12e99fca104e /filedef.h
parentc7d07fd0b5e0fcbb76480f207fdd64573d50c893 (diff)
downloadgunmake-bfc3e1ca7c0c1504c9873ee1baacce73330b037e.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 98e3f49..173e753 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)