]> code.delx.au - gnu-emacs/commitdiff
If _STRUCT_TIMEVAL is defined, also define __TIMEVAL__.
authorKarl Heuer <kwzh@gnu.org>
Thu, 26 May 1994 18:47:37 +0000 (18:47 +0000)
committerKarl Heuer <kwzh@gnu.org>
Thu, 26 May 1994 18:47:37 +0000 (18:47 +0000)
src/systime.h

index 5895b4b5446619622a92177e6c4a16da963478c6..98609728baa4cb5a722ca335aa26900344052e6b 100644 (file)
@@ -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
+
 \f
 /* EMACS_TIME is the type to use to represent temporal intervals -
    struct timeval on some systems, int on others.  It can be passed as