From: Karl Heuer Date: Thu, 26 May 1994 18:47:37 +0000 (+0000) Subject: If _STRUCT_TIMEVAL is defined, also define __TIMEVAL__. X-Git-Tag: emacs-19.34~8162 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=71068d78993a6738f998c9a057073012022adb2a;p=emacs.git If _STRUCT_TIMEVAL is defined, also define __TIMEVAL__. --- 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