mirror of
https://github.com/php/php-src.git
synced 2026-04-05 07:02:33 +02:00
Hopefully resolve proc_open build issues.
If we need anything more elaborate than this, then we can move to a configure time check as Sascha suggests.
This commit is contained in:
@@ -17,10 +17,12 @@
|
||||
*/
|
||||
/* $Id$ */
|
||||
|
||||
#define _XOPEN_SOURCE 500
|
||||
#define __EXTENSIONS__ 1
|
||||
#define _BSD_SOURCE
|
||||
#define _OSF_SOURCE
|
||||
#if defined(__linux__) || defined(sun) || defined(__IRIX__)
|
||||
# define _BSD_SOURCE /* linux wants this when XOPEN mode is on */
|
||||
# define _BSD_COMPAT /* irix: uint */
|
||||
# define _XOPEN_SOURCE 500 /* turn on Unix98 */
|
||||
# define __EXTENSIONS__ 1 /* Solaris: uint */
|
||||
#endif
|
||||
|
||||
#include "php.h"
|
||||
#include <stdio.h>
|
||||
|
||||
Reference in New Issue
Block a user