From a12177d13aa84cb9400b5a63d3e06228a5f961b3 Mon Sep 17 00:00:00 2001 From: mccallum Date: Mon, 18 Mar 1996 14:00:47 +0000 Subject: [PATCH] Remove references to NAN. Define bzero for FD_CLR(). Include for memset. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1177 72102866-910b-0410-8b05-ffd578937521 --- Source/RunLoop.m | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Source/RunLoop.m b/Source/RunLoop.m index dccff6b70..e0956fc86 100644 --- a/Source/RunLoop.m +++ b/Source/RunLoop.m @@ -30,8 +30,12 @@ #include #include #include -#include #include +#include /* for memset() */ + +/* On some systems FD_ZERO is a macro that uses bzero(). + Just define it to use memset(). */ +#define bzero(PTR, LEN) memset (PTR, 0, LEN) /* Alternate names: InputDemuxer, InputListener Alternate names for Notification classes: Dispatcher, EventDistributor, */ @@ -240,7 +244,6 @@ static RunLoop *current_run_loop; volatile double ti; ti = [date timeIntervalSinceNow]; - assert (ti != NAN); /* Positive values are in the future. */ while (ti > 0) {