From bfc3e1ca7c0c1504c9873ee1baacce73330b037e Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Sun, 13 Nov 2011 23:39:54 +0000 Subject: Enable high-resolution timestamps for Darwin (Mac OSX) Patch provided by Troy Runkel --- filedef.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'filedef.h') 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) -- cgit v1.2.3