These are all needed in different combinations on different systems.
Don't you just love standards!?

--Wez. 

> > #define __EXTENSIONS__
> > #define _ALL_SOURCE
> > #include <sys/types.h>
> > 
> Yep, those defines are there, but If I add 
> 
> #define __BSD_VISIBLE 1
> 
> It works.
> 
> 
> I tracked it down that it broke for me at revision 1.21 (the pty
> support for proc_open), the macro #define _XOPEN_SOURCE 500 causes
> my system to change which POSIX version to compile with. 
> 
> If I take that _XOPEN_SOURCE line out it compiles fine. Is that
> #define needed? I have a strong feeling the __EXTENSIONS__ and
> _ALL_SOURCE macros could be remove as well.

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to