Re: [PATCH] HP-UX traditionally has no sys/select.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx

"Quidquid latine dictum sit, altum sonatur."

Attachment: pgpa3ayh9N1qf.pgp
Description: PGP signature


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux