Message-Id: <199904030433.EAA23866@out4.ibm.net> From: "Mark E." To: djgpp-workers AT delorie DOT com Date: Fri, 2 Apr 1999 23:34:03 -0500 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: patch for CC: dj AT delorie DOT com In-reply-to: <199904022149.QAA07854@envy.delorie.com> References: <199904022112 DOT VAA62116 AT out4 DOT ibm DOT net> (snowball3 AT usa DOT net) X-mailer: Pegasus Mail for Win32 (v3.01d) 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 Precedence: bulk > either. ANSI says time_t is in . If we add it to > it should go in the non-posix section. And add FreeBSD to the list that have time_t defined in . You were right. While it is in the Unix spec, it's not in the Posix spec. 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 */ --- Mark Elbrecht, snowball3 AT usa DOT net http://snowball.digitalspace.net/