summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Pena <felipe@php.net>2010-03-06 14:45:49 +0000
committerFelipe Pena <felipe@php.net>2010-03-06 14:45:49 +0000
commit6c153e8634e989b5dac097a444d5fbe1c336e9c9 (patch)
treea8ead1d9d6bac2fa92c132d874c52022d6c01a66
parentaa60f8e807d62d275851faca3fdf28a1ad9b8e18 (diff)
downloadphp-git-6c153e8634e989b5dac097a444d5fbe1c336e9c9.tar.gz
- Fixed bug #50358 (Compile failure compiling ext/phar/util.lo)
-rw-r--r--NEWS1
-rw-r--r--ext/phar/tar.h4
2 files changed, 4 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 4623785fce..fe3cf1aadf 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 6a38faa0b7..2532c61984 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)