mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
Fix for PR #9729, 9664, 9656, 8667.
All compilers on Solaris should build this extension correctly now. It turns out the SUN CC, by default, enables a define that enables the use of #pragma redefine extname in sun header files. This is why cc would work, and gcc wouldn't. -Jason
This commit is contained in:
parent
7fb085f644
commit
86c2eaf741
@ -35,6 +35,10 @@
|
||||
#define _XPG4_2
|
||||
#define __EXTENSIONS__
|
||||
|
||||
#ifndef __PRAGMA_REDEFINE_EXTNAME
|
||||
#define __PRAGMA_REDEFINE_EXTNAME
|
||||
#endif
|
||||
|
||||
#include "ext/standard/info.h"
|
||||
#include "php_sockets.h"
|
||||
#include "php_ini.h"
|
||||
|
Loading…
Reference in New Issue
Block a user