Re: [PATCH] HP-UX traditionally has no sys/select.h
- From
Robert Schiele <rschiele@gmail.com>
- Date
- Jan 24, 2008, 18:36 UTC
- Message-ID
- <20080124183645.GL30676@schiele.dyndns.org>
- In-Reply-To
- <alpine.LSU.1.00.0801241758130.5731@racer.site>
On Thu, Jan 24, 2008 at 06:03:14PM +0000, Johannes Schindelin wrote:
Show 11 quoted lines
> 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."