diff options
| author | Karl Heuer | 1994-05-26 18:47:37 +0000 |
|---|---|---|
| committer | Karl Heuer | 1994-05-26 18:47:37 +0000 |
| commit | 71068d78993a6738f998c9a057073012022adb2a (patch) | |
| tree | 634eb657787465562e1606b50db4d44f2e8f075c /src | |
| parent | 9c481732d16d61ca8b275493ccc12344d1be0cc1 (diff) | |
| download | emacs-71068d78993a6738f998c9a057073012022adb2a.tar.gz emacs-71068d78993a6738f998c9a057073012022adb2a.zip | |
If _STRUCT_TIMEVAL is defined, also define __TIMEVAL__.
Diffstat (limited to 'src')
| -rw-r--r-- | src/systime.h | 8 |
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; | |||
| 45 | #endif | 45 | #endif |
| 46 | #endif | 46 | #endif |
| 47 | 47 | ||
| 48 | /* On some configurations (hpux8.0, X11R4), sys/time.h and X11/Xos.h | ||
| 49 | disagree about the name of the guard symbol. */ | ||
| 50 | #ifdef _STRUCT_TIMEVAL | ||
| 51 | #ifndef __TIMEVAL__ | ||
| 52 | #define __TIMEVAL__ | ||
| 53 | #endif | ||
| 54 | #endif | ||
| 55 | |||
| 48 | 56 | ||
| 49 | /* EMACS_TIME is the type to use to represent temporal intervals - | 57 | /* EMACS_TIME is the type to use to represent temporal intervals - |
| 50 | struct timeval on some systems, int on others. It can be passed as | 58 | struct timeval on some systems, int on others. It can be passed as |