From: Robert Schiele Date: Thu, 24 Jan 2008 18:36:45 GMT Subject: Re: [PATCH] HP-UX traditionally has no sys/select.h Message-ID: <20080124183645.GL30676@schiele.dyndns.org> In-Reply-To: On Thu, Jan 24, 2008 at 06:03:14PM +0000, Johannes Schindelin wrote: > We try to avoid using constructs like this. Rather, we have a section in > the Makefile which sets things like NO_IPV6=YesPlease, > OLD_ICONV=UnfortunatelyYes, etc. > > Later in the Makefile, dependent on this Makefile variable, symbols > are defined. In the source code, we check for these symbols. > > It is not only a matter of being able to reuse the same symbol for another > platform/setup, it is also a nice way of documentation. > > In your case, I suggest NO_SYS_SELECT_H=UnfortunatelyYes. Ok, implemented it that way now and also made HP-UX support in Makefile in a separate patch. Robert -- Robert Schiele Dipl.-Wirtsch.informatiker mailto:rschiele@gmail.com "Quidquid latine dictum sit, altum sonatur."