RE: [PHP-DEV] RC3RC1
| From: | Wez Furlong | Date: | Fri, 28 May 2004 10:16:51 +0000 |
| Subject: | RE: [PHP-DEV] RC3RC1 | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-10145@lists.php.net to get a copy of this message | ||
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.