diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/w32.c | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -2394,7 +2394,7 @@ get_emacs_configuration_options (void) | |||
| 2394 | #include <sys/timeb.h> | 2394 | #include <sys/timeb.h> |
| 2395 | 2395 | ||
| 2396 | /* Emulate gettimeofday (Ulrich Leodolter, 1/11/95). */ | 2396 | /* Emulate gettimeofday (Ulrich Leodolter, 1/11/95). */ |
| 2397 | void | 2397 | int |
| 2398 | gettimeofday (struct timeval *tv, struct timezone *tz) | 2398 | gettimeofday (struct timeval *tv, struct timezone *tz) |
| 2399 | { | 2399 | { |
| 2400 | struct _timeb tb; | 2400 | struct _timeb tb; |
| @@ -2413,6 +2413,7 @@ gettimeofday (struct timeval *tv, struct timezone *tz) | |||
| 2413 | tz->tz_minuteswest = tb.timezone; /* minutes west of Greenwich */ | 2413 | tz->tz_minuteswest = tb.timezone; /* minutes west of Greenwich */ |
| 2414 | tz->tz_dsttime = tb.dstflag; /* type of dst correction */ | 2414 | tz->tz_dsttime = tb.dstflag; /* type of dst correction */ |
| 2415 | } | 2415 | } |
| 2416 | return 0; | ||
| 2416 | } | 2417 | } |
| 2417 | 2418 | ||
| 2418 | /* Emulate fdutimens. */ | 2419 | /* Emulate fdutimens. */ |