]> granicus.if.org Git - php/commitdiff
- Fixed bug #50358 (Compile failure compiling ext/phar/util.lo)
authorFelipe Pena <felipe@php.net>
Sat, 6 Mar 2010 14:45:49 +0000 (14:45 +0000)
committerFelipe Pena <felipe@php.net>
Sat, 6 Mar 2010 14:45:49 +0000 (14:45 +0000)
NEWS
ext/phar/tar.h

diff --git a/NEWS b/NEWS
index 4623785fce2d3caf813f37d8c13620801c6d85d5..fe3cf1aadf6f196ae9bc3ab8a5d5d75c83b4aad3 100644 (file)
--- 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)
index 6a38faa0b7674592b5992ba7be6ec21fd90ff3ca..2532c61984a9381ccf3a9d9b5d9d194709823bba 100644 (file)
 # 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)