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

Re: Checking for POSIX&Co



Christian Reiniger wrote:

> I just checked it, and __POSIX__ is *not* defined here !!!
> Is this an error in my config or is __POSIX__ the wrong one?

Doesn't the GNU autoconf package make it a lot easier to deal with this
sort of thing?

I think it even comes with a command (autoscan) that searches your
source code for portability problems.

Disclaimer: I've never used it myself, but it seems fairly popular in
the portable, free software world.  Even Mozilla just switched to using
it (according to LWN).

Charles Durst          .------------------------------------------------.
=======================|  cdurst@world.std.com                          |==
                       |  http://www.tiac.net/users/cdurst/cdurst.html  |
                       `------------------------------------------------'