Interix support on mainline. This file was still machine specific in the branch so I'm making the corresponding change here as well so it does not get lost in the branch integration.
This commit is contained in:
parent
6bd1809b57
commit
69d6a1cb6b
|
@ -459,7 +459,6 @@ char *tzname_loser(struct tm *dp)
|
||||||
s48_value time_plus_ticks()
|
s48_value time_plus_ticks()
|
||||||
{
|
{
|
||||||
struct timeval t;
|
struct timeval t;
|
||||||
struct timezone tz;
|
|
||||||
s48_value sch_tv_sec = S48_UNSPECIFIC;
|
s48_value sch_tv_sec = S48_UNSPECIFIC;
|
||||||
s48_value sch_tv_usec = S48_UNSPECIFIC;
|
s48_value sch_tv_usec = S48_UNSPECIFIC;
|
||||||
s48_value sch_listval = S48_UNSPECIFIC;
|
s48_value sch_listval = S48_UNSPECIFIC;
|
||||||
|
@ -468,7 +467,7 @@ s48_value time_plus_ticks()
|
||||||
|
|
||||||
S48_GC_PROTECT_3(sch_tv_sec, sch_tv_usec, sch_listval);
|
S48_GC_PROTECT_3(sch_tv_sec, sch_tv_usec, sch_listval);
|
||||||
|
|
||||||
if( gettimeofday(&t, &tz) ) s48_raise_os_error (errno);
|
if( gettimeofday(&t, NULL) ) s48_raise_os_error (errno);
|
||||||
|
|
||||||
|
|
||||||
sch_tv_sec = s48_enter_integer(t.tv_sec);
|
sch_tv_sec = s48_enter_integer(t.tv_sec);
|
||||||
|
|
Loading…
Reference in New Issue