DG/UX

Matthias Andree matthias.andree at gmx.de
Wed Dec 17 11:48:27 CET 2003


On Tue, 16 Dec 2003, Clint Adams wrote:

> > + #ifdef __DGUX__
> 
> Wouldn't #ifndef MAP_FAILED be more appropriate?

What if MAP_FAILED is an enum or const int? #ifndef won't catch that.
POSIX doesn't state MAP_FAILED is a macro, just a "symbolic constant".

It would usually work though.

Of course we can have configure.ac check it, but I wanted to avoid
polluting configure.ac with contrib/* checks and contrib/* with #include
<config.h>.

-- 
Matthias Andree

Encrypt your mail: my GnuPG key ID is 0x052E7D95




More information about the bogofilter-dev mailing list