Thread (3 messages) flat view 3 messages, 2 authors, 2016-06-15

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

From: Robert Schiele <hidden>
Date: 2016-06-15 22:44:08

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."

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help