* If you do not wish that, delete this exception notice. */
\f
-/* $Id: coop.c,v 1.12 1998-10-04 12:10:11 jimb Exp $ */
+/* $Id: coop.c,v 1.13 1998-10-12 21:08:36 jimb Exp $ */
/* Cooperative thread library, based on QuickThreads */
#if defined(MISSING_USLEEP_DECL)
#ifdef USLEEP_RETURNS_VOID
-extern void usleep (unsigned);
+extern void usleep (USLEEP_ARG_TYPE);
#else
-extern int usleep (unsigned);
+extern int usleep (USLEEP_ARG_TYPE);
#endif
#endif
#else
int
#endif
-usleep (unsigned usec)
+usleep (USLEEP_ARG_TYPE usec)
{
struct timeval timeout;
timeout.tv_sec = 0;
/* Define if usleep doesn't return a value. */
#undef USLEEP_RETURNS_VOID
+/* Define to be the type of the argument to usleep. */
+#undef USLEEP_ARG_TYPE
+
/* Define if your readline library has the rl_getc_function variable. */
#undef HAVE_RL_GETC_FUNCTION
#if defined(MISSING_USLEEP_DECL) || (defined(GUILE_ISELECT) && !defined(HAVE_USLEEP))
#ifdef USLEEP_RETURNS_VOID
-extern void usleep (unsigned);
+extern void usleep (USLEEP_ARG_TYPE);
#else
-extern int usleep (unsigned);
+extern int usleep (USLEEP_ARG_TYPE);
#endif
#endif