NSPR's _xxxos.cfg usually defines the XXXOS macro, for example, _linux.cfg defines LINUX, and _solaris.cfg defines SOLARIS. For some reason, _darwin.cfg doesn't define DARWIN. This means NSPR's public headers should not test DARWIN because we want our users to be able to use our public headers without defining any macro. But pratom.h is testing DARWIN. We should either change pratom.h to test the predefined macro __APPLE__, or change _darwin.cfg to define DARWIN.
You need to log in before you can comment on or make changes to this bug.