Add interix support
This commit is contained in:
parent
142b393ab8
commit
8ddb1f619c
|
@ -1,4 +0,0 @@
|
|||
#undef HAVE_DLOPEN
|
||||
|
||||
#undef HAVE_TZNAME
|
||||
#define HAVE_TZNAME
|
|
@ -15,7 +15,6 @@
|
|||
s48_value time_plus_ticks()
|
||||
{
|
||||
struct timeval t;
|
||||
struct timezone tz;
|
||||
s48_value sch_tv_sec = S48_UNSPECIFIC;
|
||||
s48_value sch_tv_usec = S48_UNSPECIFIC;
|
||||
s48_value sch_listval = S48_UNSPECIFIC;
|
||||
|
@ -24,7 +23,7 @@ s48_value time_plus_ticks()
|
|||
|
||||
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);
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
/* Cygwin's adds _'s but making configure.in know about dlltool seemed evil */
|
||||
#define DLSYM_ADDS_USCORE
|
|
@ -1 +0,0 @@
|
|||
/* Make `diff' happy. */
|
|
@ -1,2 +0,0 @@
|
|||
#undef HAVE_SIGACTION
|
||||
#define HAVE_SIGACTION
|
|
@ -1 +0,0 @@
|
|||
#undef HAVE_DLOPEN
|
|
@ -671,7 +671,9 @@ s48_value scsh_fsync(s48_value sch_fdes)
|
|||
|
||||
s48_value scsh_sync()
|
||||
{
|
||||
#ifdef HAVE_SYNC
|
||||
sync();
|
||||
#endif
|
||||
return S48_UNSPECIFIC;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue