aboutsummaryrefslogtreecommitdiff
path: root/auto.def
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2016-08-27 14:09:31 +1000
committerSteve Bennett <steveb@workware.net.au>2018-09-21 12:57:41 +1000
commitfd07366b2c527527425dce94d1c337168ea86638 (patch)
tree4e5de3da314e9d70cacfcc818327c5b193d40133 /auto.def
parent022f90263261694bbcb98373ad7e5a282ab74453 (diff)
downloadjimtcl-fd07366b2c527527425dce94d1c337168ea86638.zip
jimtcl-fd07366b2c527527425dce94d1c337168ea86638.tar.gz
jimtcl-fd07366b2c527527425dce94d1c337168ea86638.tar.bz2
file: Add microsecond resolution for mtime: mtimeus
Note that actual support is dependent upon the underlying operating system and filesystem. Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'auto.def')
-rw-r--r--auto.def5
1 files changed, 5 insertions, 0 deletions
diff --git a/auto.def b/auto.def
index 394cc62..fc937ff 100644
--- a/auto.def
+++ b/auto.def
@@ -130,6 +130,11 @@ if {[cc-check-functions sysinfo]} {
}
}
+cc-with {-includes {sys/types.h sys/stat.h}} {
+ cc-check-members "struct stat.st_mtimespec"
+ cc-check-members "struct stat.st_mtim"
+}
+
cc-with {-includes fcntl.h} {
cc-check-types "struct flock"
}