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

Re: Checking for POSIX&Co



Adrian Ratnapala wrote:

>> I'm using readdir () (POSIX) and stat () (Linux specific) in the PakFile
>> compiler. I assume The macros to check for this are __POSIX__ and
>
>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?

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

Cu
	Christian
--

REALITY.SYS corrupted ... reboot Universe [Y,n]?