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

Re: Checking for POSIX&Co



Christian Reiniger wrote:

> >Well you are definately right about __POSIX__, and I assume you are
>
> I just checked it, and __POSIX__ is *not* defined here !!!
> Is this an error in my config or is __POSIX__ the wrong one?

I was reading the  libc info pages.

>
>
> >in  PenguinPlay.h,
> >
> >#ifdef __POSIX__
> >    #define _PP_POSIX
> >    (and maybe even #define _PP_READDIR readdir)
> >#endif
> >
> >etc.
> >
> >It is kind of pointless, but I think it is The Right Thing To Do.  I have
> >occasionally
>
> It looks like Maxximum Overkill (TM) ;+) , but yes, it could be useful
> later.
>

Not that I can think of _how_ it would be useful, just that I have regretted
that
kind of mistake before.