summaryrefslogtreecommitdiff
path: root/src/systime.h
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1994-05-26 18:47:37 +0000
committerKarl Heuer <kwzh@gnu.org>1994-05-26 18:47:37 +0000
commit71068d78993a6738f998c9a057073012022adb2a (patch)
tree634eb657787465562e1606b50db4d44f2e8f075c /src/systime.h
parent9c481732d16d61ca8b275493ccc12344d1be0cc1 (diff)
downloademacs-71068d78993a6738f998c9a057073012022adb2a.tar.gz
If _STRUCT_TIMEVAL is defined, also define __TIMEVAL__.
Diffstat (limited to 'src/systime.h')
-rw-r--r--src/systime.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/systime.h b/src/systime.h
index 5895b4b5446..98609728baa 100644
--- a/src/systime.h
+++ b/src/systime.h
@@ -45,6 +45,14 @@ extern long timezone;
#endif
#endif
+/* On some configurations (hpux8.0, X11R4), sys/time.h and X11/Xos.h
+ disagree about the name of the guard symbol. */
+#ifdef _STRUCT_TIMEVAL
+#ifndef __TIMEVAL__
+#define __TIMEVAL__
+#endif
+#endif
+
/* EMACS_TIME is the type to use to represent temporal intervals -
struct timeval on some systems, int on others. It can be passed as