]> granicus.if.org Git - php/commitdiff
- Fixed bug #50496 (Use of <stdbool.h> is valid only in a c99 compilation environment.)
authorSriram Natarajan <srinatar@php.net>
Wed, 16 Dec 2009 20:49:08 +0000 (20:49 +0000)
committerSriram Natarajan <srinatar@php.net>
Wed, 16 Dec 2009 20:49:08 +0000 (20:49 +0000)
NEWS
configure.in

diff --git a/NEWS b/NEWS
index 3554e964a35d6d4e5199c5a2b096fec30cfd83dd..041eee1fdbf306618eb44909e2c1623f2196cd7b 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -9,6 +9,8 @@ PHP                                                                        NEWS
 - Changed "post_max_size" php.ini directive to allow unlimited post size by
   setting it to 0. (Rasmus)
 
+- Fixed bug #50496 (Use of <stdbool.h> is valid only in a c99 compilation 
+  environment. (Sriram)
 - Added support for SHA-256 and SHA-512 to php's crypt. (Pierre)
 - Added realpath_cache_size() and realpath_cache_get() functions. (Stas)
 - Added FILTER_FLAG_STRIP_BACKTICK option to the filter extension. (Ilia)
index 09d3d1705a332e5eeda5cae08b91a2a604547a8e..2aa4ffdcc2befdc2e265e24c1334c9e2f0b912ec 100644 (file)
@@ -202,7 +202,12 @@ case $host_cpu in
     ;;
   sparc*)
     if test "$SUNCC" = "yes"; then
-      CFLAGS="$CFLAGS -xmemalign=8s"
+      CFLAGS="$CFLAGS -xc99=all -xmemalign=8s"
+    fi
+    ;;
+  i386)
+    if test "$SUNCC" = "yes"; then
+      CFLAGS="$CFLAGS -xc99=all"
     fi
     ;;
 esac