summaryrefslogtreecommitdiff
path: root/modules/time
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2023-03-17 13:31:11 +0100
committerBruno Haible <bruno@clisp.org>2023-03-17 13:31:11 +0100
commit1d546b1cd1cca688fdc7e149b1fd0672439dfaa7 (patch)
tree043758861ec6c3f4327804e3549f991f60ff4439 /modules/time
parent6cac6f014973dce669f9fa50cce7540eda711050 (diff)
downloadgnulib-1d546b1cd1cca688fdc7e149b1fd0672439dfaa7.tar.gz
time: Fix test failure on native Windows.
* m4/time.m4 (gl_FUNC_TIME): Guess that it does not work on native Windows. * modules/time (Depends-on): Add gettimeofday. * doc/posix-functions/time.texi: Mention the bug on Windows.
Diffstat (limited to 'modules/time')
-rw-r--r--modules/time1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/time b/modules/time
index 45f5ffd35f..2729ad06ea 100644
--- a/modules/time
+++ b/modules/time
@@ -7,6 +7,7 @@ m4/time.m4
Depends-on:
time-h
+gettimeofday [test $REPLACE_TIME = 1]
configure.ac:
gl_FUNC_TIME