summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)