diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/systime.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/systime.h b/src/systime.h index 285d9984365..094aee2a249 100644 --- a/src/systime.h +++ b/src/systime.h | |||
| @@ -60,10 +60,10 @@ extern long timezone; | |||
| 60 | EMACS_SET_SECS (TIME, SECONDS) sets that to SECONDS. | 60 | EMACS_SET_SECS (TIME, SECONDS) sets that to SECONDS. |
| 61 | 61 | ||
| 62 | EMACS_HAS_USECS is defined iff EMACS_TIME has a usecs component. | 62 | EMACS_HAS_USECS is defined iff EMACS_TIME has a usecs component. |
| 63 | EMACS_USECS (TIME) is an rvalue for the milliseconds component of TIME. | 63 | EMACS_USECS (TIME) is an rvalue for the microseconds component of TIME. |
| 64 | This returns zero if EMACS_TIME doesn't have a milliseconds component. | 64 | This returns zero if EMACS_TIME doesn't have a microseconds component. |
| 65 | EMACS_SET_USECS (TIME, MILLISECONDS) sets that to MILLISECONDS. | 65 | EMACS_SET_USECS (TIME, MICROSECONDS) sets that to MICROSECONDS. |
| 66 | This does nothing if EMACS_TIME doesn't have a milliseconds component. | 66 | This does nothing if EMACS_TIME doesn't have a microseconds component. |
| 67 | 67 | ||
| 68 | EMACS_SET_SECS_USECS (TIME, SECS, USECS) sets both components of TIME. | 68 | EMACS_SET_SECS_USECS (TIME, SECS, USECS) sets both components of TIME. |
| 69 | 69 | ||
| @@ -90,7 +90,7 @@ extern long timezone; | |||
| 90 | #define EMACS_SECS(time) ((time).tv_sec + 0) | 90 | #define EMACS_SECS(time) ((time).tv_sec + 0) |
| 91 | #define EMACS_USECS(time) ((time).tv_usec + 0) | 91 | #define EMACS_USECS(time) ((time).tv_usec + 0) |
| 92 | #define EMACS_SET_SECS(time, seconds) ((time).tv_sec = (seconds)) | 92 | #define EMACS_SET_SECS(time, seconds) ((time).tv_sec = (seconds)) |
| 93 | #define EMACS_SET_USECS(time, milliseconds) ((time).tv_usec = (milliseconds)) | 93 | #define EMACS_SET_USECS(time, microseconds) ((time).tv_usec = (microseconds)) |
| 94 | 94 | ||
| 95 | #define EMACS_GET_TIME(time) \ | 95 | #define EMACS_GET_TIME(time) \ |
| 96 | { \ | 96 | { \ |
| @@ -233,7 +233,7 @@ extern long timezone; | |||
| 233 | #else /* ! defined (ultrix) || defined (hpux) || defined (_AIX) */ | 233 | #else /* ! defined (ultrix) || defined (hpux) || defined (_AIX) */ |
| 234 | /* If we are running SunOS, Mt. Xinu BSD, or MACH 2.5, these systems have a | 234 | /* If we are running SunOS, Mt. Xinu BSD, or MACH 2.5, these systems have a |
| 235 | timezone function. */ | 235 | timezone function. */ |
| 236 | #if (defined (hp9000) && ! defined (hpux) && defined (unix)) || defined (MACH) || defined (sun) | 236 | #if (defined (hp9000) && ! defined (hpux) && defined (unix)) || defined (MACH) || defined (sun) || defined (NeXT) |
| 237 | 237 | ||
| 238 | #define EMACS_GET_TZ_NAMES(standard, savings) \ | 238 | #define EMACS_GET_TZ_NAMES(standard, savings) \ |
| 239 | do { \ | 239 | do { \ |