On Thu, Jul 26, 2001 at 04:31:53PM -0700, Aaron Bannert wrote: > Does having threads mean we require _REENTRANT to be defined > (on Solaris)? My followup to that question is: does having _REENTRANT > defined change the way anything operates in a way that we aren't > expecting?
It must be defined regardless of threads, since no library that is compiled with _REENTRANT can be used by code that is not compiled with _REENTRANT, and vice versa. The symbol modifies the definition of errno. We always need to define it because things like PHP will always define it. ....Roy