aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert1996-12-31 19:10:03 +0000
committerPaul Eggert1996-12-31 19:10:03 +0000
commit89e5d42066f0a8745901b323ba020f3fc963436f (patch)
tree584de1e0bac79da2187b50665a7d3a18e767fbd3 /src
parent5c6a8dfe15d2c3c013e13527b72006667b6db549 (diff)
downloademacs-89e5d42066f0a8745901b323ba020f3fc963436f.tar.gz
emacs-89e5d42066f0a8745901b323ba020f3fc963436f.zip
(mktime):
Use BROKEN_MKTIME instead of system-specific macros to determine whether mktime is broken.
Diffstat (limited to 'src')
-rw-r--r--src/config.in11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/config.in b/src/config.in
index b7332449925..3925f242fd8 100644
--- a/src/config.in
+++ b/src/config.in
@@ -187,6 +187,7 @@ Boston, MA 02111-1307, USA. */
187#undef HAVE_SETSID 187#undef HAVE_SETSID
188#undef HAVE_FPATHCONF 188#undef HAVE_FPATHCONF
189#undef HAVE_SELECT 189#undef HAVE_SELECT
190#undef HAVE_MKTIME
190#undef HAVE_EUIDACCESS 191#undef HAVE_EUIDACCESS
191#undef HAVE_GETPAGESIZE 192#undef HAVE_GETPAGESIZE
192#undef HAVE_TZSET 193#undef HAVE_TZSET
@@ -201,11 +202,6 @@ Boston, MA 02111-1307, USA. */
201 202
202#undef HAVE_AIX_SMT_EXP 203#undef HAVE_AIX_SMT_EXP
203 204
204#undef HAVE_MKTIME
205#if ! HAVE_MKTIME || defined (_NEXT_SOURCE)
206#define mktime emacs_mktime
207#endif
208
209/* Define if you have the ANSI `strerror' function. 205/* Define if you have the ANSI `strerror' function.
210 Otherwise you must have the variable `char *sys_errlist[]'. */ 206 Otherwise you must have the variable `char *sys_errlist[]'. */
211#undef HAVE_STRERROR 207#undef HAVE_STRERROR
@@ -324,6 +320,11 @@ Boston, MA 02111-1307, USA. */
324#define RE_TRANSLATE_TYPE Lisp_Object * 320#define RE_TRANSLATE_TYPE Lisp_Object *
325#endif 321#endif
326 322
323/* Avoid link-time collision with system mktime if we will use our own. */
324#if ! HAVE_MKTIME || BROKEN_MKTIME
325#define mktime emacs_mktime
326#endif
327
327/* The rest of the code currently tests the CPP symbol BSTRING. 328/* The rest of the code currently tests the CPP symbol BSTRING.
328 Override any claims made by the system-description files. 329 Override any claims made by the system-description files.
329 Note that on some SCO version it is possible to have bcopy and not bcmp. */ 330 Note that on some SCO version it is possible to have bcopy and not bcmp. */