Xref: utzoo gnu.gcc.help:29 comp.unix.xenix.sco:542 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!sco!seanf From: seanf@sco.COM (Sean Fagan) Newsgroups: gnu.gcc.help,comp.unix.xenix.sco Subject: Re: GCC with Xenix Include files Message-ID: <8279@scolex.sco.COM> Date: 18 Oct 90 22:25:18 GMT References: <1990Oct14.161854@cs.yale.edu> <1990Oct16.081629.106@bbt.se> Sender: news@sco.COM Reply-To: seanf (Sean Fagan) Organization: The Santa Cruz Operation, Inc. Lines: 37 In article <1990Oct16.081629.106@bbt.se> pgd@bbt.se writes: >If you update to 2.3.3 you will find that the include files, if >possible, are even more screwed up. I think that the 2.3.1 DS update has this fix; the unix DS certainly does (and many, many of the header files are protected against multiple inclusion). > #ifndef SIZE_T_DEFINED That, btw, is illegal, according to ANSI. We use #ifndef _SIZE_T typedef unsigned int size_t; # define _SIZE_T #endif /* _SIZE_T */ which is legal (namespace problems). > #ifndef STDIO_INCLUDED For these, it's of the format #ifndef _STDIO_H # define _STDIO_H /* stdio.h stuff */ #endif /* _STDIO_H */ As I said, most of the header files in 3.2 have this already. -- -----------------+ Sean Eric Fagan | "*Never* knock on Death's door: ring the bell and seanf@sco.COM | run away! Death hates that!" uunet!sco!seanf | -- Dr. Mike Stratford (Matt Frewer, "Doctor, Doctor") (408) 458-1422 | Any opinions expressed are my own, not my employers'.