From 869865269995d67e5c30f45393e83eeee5229647 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sun, 22 Feb 1998 16:45:08 +0000 Subject: EMX changes for OS/2. svn path=/trunk/; revision=1668 --- driver.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'driver.c') diff --git a/driver.c b/driver.c index 8c0657c2..e6e44e6d 100644 --- a/driver.c +++ b/driver.c @@ -110,12 +110,14 @@ static phase; static void set_timeout(int timeleft) /* reset the nonresponse-timeout */ { +#ifndef __EMX__ struct itimerval ntimeout; ntimeout.it_interval.tv_sec = ntimeout.it_interval.tv_usec = 0; ntimeout.it_value.tv_sec = timeleft; ntimeout.it_value.tv_usec = 0; setitimer(ITIMER_REAL, &ntimeout, (struct itimerval *)NULL); +#endif } static void timeout_handler (int signal) -- cgit v1.2.3