mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +00:00
Remove references to NAN. Define bzero for FD_CLR(). Include
<string.h> for memset. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1177 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
b78a8fa72f
commit
a12177d13a
1 changed files with 5 additions and 2 deletions
|
@ -30,8 +30,12 @@
|
|||
#include <Foundation/NSAutoreleasePool.h>
|
||||
#include <Foundation/NSTimer.h>
|
||||
#include <sys/time.h>
|
||||
#include <nan.h>
|
||||
#include <limits.h>
|
||||
#include <string.h> /* 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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue