aboutsummaryrefslogtreecommitdiff
path: root/auto.def
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2016-08-19 08:54:29 +1000
committerSteve Bennett <steveb@workware.net.au>2016-08-20 11:24:28 +1000
commitdef038d816120c9281e8001c24170047996ebfbc (patch)
tree17afdef43c7f1b46cb5130eca47bd349cf341c2c /auto.def
parentdc7c2751eb01e8aa37740ce494e2857ce11b5ad3 (diff)
downloadjimtcl-def038d816120c9281e8001c24170047996ebfbc.zip
jimtcl-def038d816120c9281e8001c24170047996ebfbc.tar.gz
jimtcl-def038d816120c9281e8001c24170047996ebfbc.tar.bz2
Fix aio locking on non-linux platforms
And improve the tests Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'auto.def')
-rw-r--r--auto.def4
1 files changed, 4 insertions, 0 deletions
diff --git a/auto.def b/auto.def
index fcf4a80..bb50330 100644
--- a/auto.def
+++ b/auto.def
@@ -112,6 +112,10 @@ if {[cc-check-functions sysinfo]} {
}
}
+cc-with {-includes fcntl.h} {
+ cc-check-types "struct flock"
+}
+
cc-check-lfs
cc-check-functions fseeko ftello