aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2013-03-28 22:20:40 +0200
committerEli Zaretskii2013-03-28 22:20:40 +0200
commit97dababa47e5b2133f18f05f415dcf42c7066f84 (patch)
tree33337aa146be4532584bb522069e27c16d19a4e2 /src
parent845b7499e398a10f87a0f1ed307101215c82d218 (diff)
downloademacs-97dababa47e5b2133f18f05f415dcf42c7066f84.tar.gz
emacs-97dababa47e5b2133f18f05f415dcf42c7066f84.zip
Fix the gettimeofday_timezone test.
Diffstat (limited to 'src')
-rw-r--r--src/w32.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/w32.c b/src/w32.c
index 431826c4b82..6933ddfed83 100644
--- a/src/w32.c
+++ b/src/w32.c
@@ -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). */
2397void 2397int
2398gettimeofday (struct timeval *tv, struct timezone *tz) 2398gettimeofday (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. */