From: Pierre Joye Date: Fri, 7 Mar 2008 18:41:02 +0000 (+0000) Subject: - #44355, compilation breaks due illegal const usage (Guenter Knauf) X-Git-Tag: php-5.2.6RC3~66 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6d3101b8f460c1833bc79123e7f4c887b8097a92;p=php - #44355, compilation breaks due illegal const usage (Guenter Knauf) I suppose it must break on other platform, it is not used anywhere else but here, and it was introduced after 5.2.5 (why no news) --- diff --git a/ext/exif/exif.c b/ext/exif/exif.c index f827b062f1..5aa0ab2e1c 100644 --- a/ext/exif/exif.c +++ b/ext/exif/exif.c @@ -242,7 +242,7 @@ PHP_MSHUTDOWN_FUNCTION(exif) /* }}} */ /* {{{ exif dependencies */ -static const zend_module_dep exif_module_deps[] = { +static zend_module_dep exif_module_deps[] = { ZEND_MOD_REQUIRED("standard") #if EXIF_USE_MBSTRING ZEND_MOD_REQUIRED("mbstring")