diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2019-05-04 01:25:22 +0100 |
---|---|---|
committer | Jon Turney <jon.turney@dronecode.org.uk> | 2019-05-04 23:25:59 +0100 |
commit | 683d3c0cf8c86fb6626e9e85fc0bb99a27833280 (patch) | |
tree | de77d6cba00c3aef4e2482de365a3af8f4d30caf /Clock.c | |
parent | d528eca772620bc06c182e03265fc5f70a4d35f7 (diff) |
Consistently use X_GETTIMEOFDAY
After 7ad730d8, use X_GETTIMEOFDAY() in Initialize() as well as
clock_tic(), to fix compilation on non-POSIX systems where the
gymnastics that X_GETTIMEOFDAY does are necessary (i.e. Win32)
Diffstat (limited to 'Clock.c')
-rw-r--r-- | Clock.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -613,7 +613,7 @@ Initialize (Widget request, Widget new, ArgList args, Cardinal *num_args) } #endif /* NO_I18N */ - (void) gettimeofday(&tv, NULL); + X_GETTIMEOFDAY(&tv); tm = *localtime(&tv.tv_sec); str = TimeString (w, &tm); len = strlen(str); |