diff options
| author | Eli Zaretskii | 2013-03-28 22:20:40 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2013-03-28 22:20:40 +0200 |
| commit | 97dababa47e5b2133f18f05f415dcf42c7066f84 (patch) | |
| tree | 33337aa146be4532584bb522069e27c16d19a4e2 /src | |
| parent | 845b7499e398a10f87a0f1ed307101215c82d218 (diff) | |
| download | emacs-97dababa47e5b2133f18f05f415dcf42c7066f84.tar.gz emacs-97dababa47e5b2133f18f05f415dcf42c7066f84.zip | |
Fix the gettimeofday_timezone test.
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. */ |