diff --git a/NEWS b/NEWS index 4623785fce2..fe3cf1aadf6 100644 --- a/NEWS +++ b/NEWS @@ -17,6 +17,7 @@ PHP NEWS - Fixed bug #50999 (unaligned memory access in dba_fetch()). (Felipe) - Fixed bug #50731 (Inconsistent namespaces sent to functions registered with spl_autoload_register). (Felipe) +- Fixed bug #50358 (Compile failure compiling ext/phar/util.lo). (Felipe) ?? ??? 20??, PHP 5.3.2 - Upgraded bundled sqlite to version 3.6.22. (Ilia) diff --git a/ext/phar/tar.h b/ext/phar/tar.h index 6a38faa0b76..2532c61984a 100644 --- a/ext/phar/tar.h +++ b/ext/phar/tar.h @@ -24,8 +24,10 @@ # define PHAR_TAR_PACK #elif defined(__sgi) # define PHAR_TAR_PACK -#else +#elif defined(__GNUC__) # define PHAR_TAR_PACK __attribute__((__packed__)) +#else +# define PHAR_TAR_PACK #endif #if defined(__sgi)