summaryrefslogtreecommitdiff
path: root/m4/nanosleep.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/nanosleep.m4')
-rw-r--r--m4/nanosleep.m46
1 files changed, 4 insertions, 2 deletions
diff --git a/m4/nanosleep.m4 b/m4/nanosleep.m4
index 5590696..8903734 100644
--- a/m4/nanosleep.m4
+++ b/m4/nanosleep.m4
@@ -1,11 +1,11 @@
-# serial 36
+# serial 37
dnl From Jim Meyering.
dnl Check for the nanosleep function.
dnl If not found, use the supplied replacement.
dnl
-# Copyright (C) 1999-2001, 2003-2017 Free Software Foundation, Inc.
+# Copyright (C) 1999-2001, 2003-2018 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -106,6 +106,8 @@ AC_DEFUN([gl_FUNC_NANOSLEEP],
[case "$host_os" in dnl ((
linux*) # Guess it halfway works when the kernel is Linux.
gl_cv_func_nanosleep='guessing no (mishandles large arguments)' ;;
+ mingw*) # Guess no on native Windows.
+ gl_cv_func_nanosleep='guessing no' ;;
*) # If we don't know, assume the worst.
gl_cv_func_nanosleep='guessing no' ;;
esac