pkgsrc/lang/siod/patches/patch-ab
agc 39e7c9e4b3 Initial import of SIOD 3.4, Scheme in One Day/Defun, a small-footprint
implementation of the Scheme programming language, into the NetBSD
packages collection.

This package as marked as being only for Solaris at the moment because
it is, as yet, untested on NetBSD.
1999-08-06 09:43:30 +00:00

15 lines
384 B
Text

$NetBSD: patch-ab,v 1.1.1.1 1999/08/06 09:43:31 agc Exp $
Solaris (2.6 and above) already has usleep()
--- slibu.c 1999/08/06 09:27:05 1.1
+++ slibu.c 1999/08/06 09:28:11
@@ -1311,7 +1311,7 @@
}
#endif
-#if defined(sun) || defined(sgi)
+#if (defined(sun) && !defined(__svr4__)) || defined(sgi)
long usleep(unsigned int winks)
{struct timespec x;
x.tv_sec = winks / 1000000;