changeset 16081:b0b33a9a72f2

(mktime): Define to emacs_mktime if HAVE_MKTIME && ! defined (_NEXT_SOURCE), so that we don't attempt to redefine the libc mktime.
author Paul Eggert <eggert@twinsun.com>
date Tue, 03 Sep 1996 18:00:34 +0000
parents 11dadc34fd9a
children 518683f8b4ce
files src/config.in
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/config.in	Tue Sep 03 17:54:23 1996 +0000
+++ b/src/config.in	Tue Sep 03 18:00:34 1996 +0000
@@ -180,7 +180,6 @@
 #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 @@
 
 #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