diff options
author | Jason Greene <jason@php.net> | 2001-04-10 03:16:05 +0000 |
---|---|---|
committer | Jason Greene <jason@php.net> | 2001-04-10 03:16:05 +0000 |
commit | 86c2eaf74128e51cb1bfd87bb8267f83dfdcb293 (patch) | |
tree | 06efdcd335204363c528fa536251c8985303d461 /ext | |
parent | 7fb085f64414bab308eed2acfe8461ca1dd942ed (diff) | |
download | php-git-86c2eaf74128e51cb1bfd87bb8267f83dfdcb293.tar.gz |
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
Diffstat (limited to 'ext')
-rw-r--r-- | ext/sockets/sockets.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/sockets/sockets.c b/ext/sockets/sockets.c index 15114d8608..ea784729e8 100644 --- a/ext/sockets/sockets.c +++ b/ext/sockets/sockets.c @@ -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" |