summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@twinsun.com>1996-12-31 19:10:03 +0000
committerPaul Eggert <eggert@twinsun.com>1996-12-31 19:10:03 +0000
commit8db5fdf58855981046e6c28436b6e3311c445236 (patch)
tree85e6b8920c7841df2a992dddb329c58775267d07
parent6009ff5ad357090abb5f3080ee5159049f92e8e0 (diff)
downloademacs-8db5fdf58855981046e6c28436b6e3311c445236.tar.gz
(BROKEN_MKTIME): New macro.
-rw-r--r--src/s/nextstep.h3
-rw-r--r--src/s/sco4.h4
2 files changed, 7 insertions, 0 deletions
diff --git a/src/s/nextstep.h b/src/s/nextstep.h
index 6cb6f7a9af6..893d62ba7a7 100644
--- a/src/s/nextstep.h
+++ b/src/s/nextstep.h
@@ -52,6 +52,9 @@ Boston, MA 02111-1307, USA. */
/* This should be true for recent NeXT systems. At least since 3.2. */
#define HAVE_MACH_MACH_H
+/* mktime wrongly ignores TZ. */
+#define BROKEN_MKTIME 1
+
#if 0 /* I think these are never used--let's see. -- rms. */
/* Mask for address bits within a memory segment */
diff --git a/src/s/sco4.h b/src/s/sco4.h
index 2903183128f..2610dfbe0f0 100644
--- a/src/s/sco4.h
+++ b/src/s/sco4.h
@@ -103,6 +103,10 @@ Boston, MA 02111-1307, USA. */
/* We don't have -loldX, and we don't need it. */
#define LIB_XMENU_LIB
+/* doug@zadall.com says SCO 3.2v4.2 mktime botches time arithmetic as used
+ by display-time. */
+#define BROKEN_MKTIME 1
+
/* SCO does have TIOCGWINSZ. */
#undef BROKEN_TIOCGWINSZ
#define NEED_PTEM_H