summaryrefslogtreecommitdiff
path: root/m4/time_h.m4
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2010-04-04 02:12:01 +0200
committerBruno Haible <bruno@clisp.org>2010-04-04 02:12:01 +0200
commit5bc553f79aea514d349c3f78fcbb042cd860c8a1 (patch)
tree7d5e1023d2a48c98bb00681c343a64e90b92d59c /m4/time_h.m4
parent3361b6d48f06367906059ba220639436b50dbe4d (diff)
downloadgnulib-5bc553f79aea514d349c3f78fcbb042cd860c8a1.tar.gz
nanosleep: Fix C++ test error on mingw.
Diffstat (limited to 'm4/time_h.m4')
-rw-r--r--m4/time_h.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/m4/time_h.m4 b/m4/time_h.m4
index 7d9984ed37..b88ba94da1 100644
--- a/m4/time_h.m4
+++ b/m4/time_h.m4
@@ -79,6 +79,7 @@ AC_DEFUN([gl_HEADER_TIME_H_DEFAULTS],
GNULIB_TIME_R=0; AC_SUBST([GNULIB_TIME_R])
dnl Assume proper GNU behavior unless another module says otherwise.
HAVE_LOCALTIME_R=1; AC_SUBST([HAVE_LOCALTIME_R])
+ HAVE_NANOSLEEP=1; AC_SUBST([HAVE_NANOSLEEP])
HAVE_STRPTIME=1; AC_SUBST([HAVE_STRPTIME])
HAVE_TIMEGM=1; AC_SUBST([HAVE_TIMEGM])
dnl If another module says to replace or to not replace, do that.