delorie.com/archives/browse.cgi | search |
Date: | Sat, 3 Apr 1999 22:14:41 -0500 |
Message-Id: | <199904040314.WAA18130@envy.delorie.com> |
From: | DJ Delorie <dj AT delorie DOT com> |
To: | snowball3 AT usa DOT net |
CC: | djgpp-workers AT delorie DOT com |
In-reply-to: | <199904030433.EAA23866@out4.ibm.net> (snowball3@usa.net) |
Subject: | Re: patch for <sys\types.h> |
References: | <199904022112 DOT VAA62116 AT out4 DOT ibm DOT net> (snowball3 AT usa DOT net) <199904030433 DOT EAA23866 AT out4 DOT ibm DOT net> |
Reply-To: | djgpp-workers AT delorie DOT com |
X-Mailing-List: | djgpp-workers AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
Applied. > Here's a revised patch to put it the non-Posix section: > > *** include/sys/types.h.orig Sat Feb 22 13:06:06 1997 > --- include/sys/types.h Fri Apr 2 23:28:02 1999 > *************** > *** 53,58 **** > --- 53,62 ---- > #define FD_ISSET(n, p) ((p)->fd_bits[(n) / 8] & (1 << ((n) & 7))) > #define FD_ZERO(p) memset ((void *)(p), 0, sizeof (*(p))) > > + __DJ_time_t > + #undef __DJ_time_t > + #define __DJ_time_t > + > #endif /* !_POSIX_SOURCE */ > #endif /* !__STRICT_ANSI__ */ > #endif /* !__dj_ENFORCE_ANSI_FREESTANDING */ > >
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |