aboutsummaryrefslogtreecommitdiffstats
path: root/lib/time.in.h
diff options
context:
space:
mode:
authorPaul Eggert2015-07-27 16:50:44 -0700
committerPaul Eggert2015-07-27 16:51:22 -0700
commit2856b1dd6f0ff5164eb5a54ddfadb9963f9e9237 (patch)
treecff0c4728088e2cfc6939bd4a752c619a54c1cbd /lib/time.in.h
parent094d5e9ef0fac319816c00cc52e0a0f2ef41be37 (diff)
downloademacs-2856b1dd6f0ff5164eb5a54ddfadb9963f9e9237.tar.gz
emacs-2856b1dd6f0ff5164eb5a54ddfadb9963f9e9237.zip
Merge from gnulib
This incorporates: 2015-07-27 time_rz: port better to MinGW 2015-07-27 time: port __need_time_t to MinGW * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate. * lib/strftime.c, lib/time.in.h, lib/time_rz.c: Copy from gnulib. * lib/time-internal.h: New file, from gnulib.
Diffstat (limited to 'lib/time.in.h')
-rw-r--r--lib/time.in.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/time.in.h b/lib/time.in.h
index 1adfe925398..a90552ce447 100644
--- a/lib/time.in.h
+++ b/lib/time.in.h
@@ -22,13 +22,13 @@
22 22
23/* Don't get in the way of glibc when it includes time.h merely to 23/* Don't get in the way of glibc when it includes time.h merely to
24 declare a few standard symbols, rather than to declare all the 24 declare a few standard symbols, rather than to declare all the
25 symbols. Also, Solaris 8 <time.h> eventually includes itself 25 symbols. (However, skip this for MinGW as it treats __need_time_t
26 incompatibly.) Also, Solaris 8 <time.h> eventually includes itself
26 recursively; if that is happening, just include the system <time.h> 27 recursively; if that is happening, just include the system <time.h>
27 without adding our own declarations. MinGW system headers use 28 without adding our own declarations. */
28 these symbols as well, but we don't want to exclude MinGW from the 29#if (((defined __need_time_t || defined __need_clock_t \
29 'else' branch below. */ 30 || defined __need_timespec) \
30#if (((defined __need_time_t || defined __need_clock_t \ 31 && !defined __MINGW32__) \
31 || defined __need_timespec) && !defined __MINGW32__) \
32 || defined _@GUARD_PREFIX@_TIME_H) 32 || defined _@GUARD_PREFIX@_TIME_H)
33 33
34# @INCLUDE_NEXT@ @NEXT_TIME_H@ 34# @INCLUDE_NEXT@ @NEXT_TIME_H@