diff options
| author | Jim Blandy | 1993-03-20 22:58:21 +0000 |
|---|---|---|
| committer | Jim Blandy | 1993-03-20 22:58:21 +0000 |
| commit | 722687f5c7994bb2f25c2644e5ed59a4be35f2ee (patch) | |
| tree | e5cd6c5057e692f3774ac65e8273054719383e86 /src | |
| parent | 500ab754f5182f138e6451178daaae5a8a0e4648 (diff) | |
| download | emacs-722687f5c7994bb2f25c2644e5ed59a4be35f2ee.tar.gz emacs-722687f5c7994bb2f25c2644e5ed59a4be35f2ee.zip | |
* systime.h (EMACS_HAS_USECS): #define this if HAVE_TIMEVAL is
#defined.
Diffstat (limited to 'src')
| -rw-r--r-- | src/systime.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/systime.h b/src/systime.h index d6b1898c7f1..36538598481 100644 --- a/src/systime.h +++ b/src/systime.h | |||
| @@ -84,6 +84,8 @@ extern long timezone; | |||
| 84 | 84 | ||
| 85 | #ifdef HAVE_TIMEVAL | 85 | #ifdef HAVE_TIMEVAL |
| 86 | 86 | ||
| 87 | #define EMACS_HAS_USECS | ||
| 88 | |||
| 87 | #define EMACS_TIME struct timeval | 89 | #define EMACS_TIME struct timeval |
| 88 | #define EMACS_SECS(time) ((time).tv_sec + 0) | 90 | #define EMACS_SECS(time) ((time).tv_sec + 0) |
| 89 | #define EMACS_USECS(time) ((time).tv_usec + 0) | 91 | #define EMACS_USECS(time) ((time).tv_usec + 0) |