summaryrefslogtreecommitdiff
path: root/src/config.in
diff options
context:
space:
mode:
authorPaul Eggert <eggert@twinsun.com>1996-09-03 18:00:34 +0000
committerPaul Eggert <eggert@twinsun.com>1996-09-03 18:00:34 +0000
commit8ac07d42c86989f5489ac7331b9b037dbe42c190 (patch)
tree24a7abcd20c4d6cad21f75904d6fc8134d133551 /src/config.in
parent7be946fc7f8e7ef17fa3471f2375456f5f26f152 (diff)
downloademacs-8ac07d42c86989f5489ac7331b9b037dbe42c190.tar.gz
(mktime): Define to emacs_mktime if HAVE_MKTIME && ! defined (_NEXT_SOURCE),
so that we don't attempt to redefine the libc mktime.
Diffstat (limited to 'src/config.in')
-rw-r--r--src/config.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/config.in b/src/config.in
index 54379cb96bd..d91b36e5e11 100644
--- a/src/config.in
+++ b/src/config.in
@@ -180,7 +180,6 @@ Boston, MA 02111-1307, USA. */
#undef HAVE_SETSID
#undef HAVE_FPATHCONF
#undef HAVE_SELECT
-#undef HAVE_MKTIME
#undef HAVE_EUIDACCESS
#undef HAVE_GETPAGESIZE
#undef HAVE_TZSET
@@ -193,6 +192,11 @@ Boston, MA 02111-1307, USA. */
#undef HAVE_AIX_SMT_EXP
+#undef HAVE_MKTIME
+#if HAVE_MKTIME && ! defined (_NEXT_SOURCE)
+#define mktime emacs_mktime
+#endif
+
/* Define if you have the ANSI `strerror' function.
Otherwise you must have the variable `char *sys_errlist[]'. */
#undef HAVE_STRERROR