--On Thursday, January 23, 2003 12:34 AM -0500 Craig Rodrigues <[EMAIL PROTECTED]> wrote:

        apr.hnw               (READDIR_IS_THREAD_SAFE,
        ENUM_BITFIELD,  _POSIX_THREAD_SAFE_FUNCTIONS (?),
                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Whoa...this not not good.  _POSIX_THREAD_SAFE_FUNCTIONS is a
manifest POSIX constant that should *not* be defined by
the application.  A POSIX conformant application should
include <unistd.h> and *check* the value of this constant only.

I have a hunch that NetWare (why the #define is only in apr.hnw) doesn't have _POSIX_THREAD_SAFE_FUNCTIONS defined in its unistd.h. It shouldn't be defined by any other platform.


As a nit-pick, you'd need to wrap the include of unistd.h with #if APR_HAVE_UNISTD_H/#endif. -- justin

Reply via email to