summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRemi Collet <remi@php.net>2016-12-12 16:27:37 +0100
committerRemi Collet <remi@php.net>2016-12-12 16:27:37 +0100
commit4c6ea7d46401a1ae4c04b72a8b59dbfed0ff3e7c (patch)
tree0f5e875dccefabf1fe31151d7e1927d0f4fde730
parentec147b83326d7b43946ef5ac57579ea521dadec0 (diff)
downloadphp-git-4c6ea7d46401a1ae4c04b72a8b59dbfed0ff3e7c.tar.gz
Minor fix macro value
[] results in /**/ which can break some test e.g. https://github.com/m6w6/ext-http/commit/d9ba7726f77858e626d67d758a87c9caa6f38d2b
-rw-r--r--Zend/acinclude.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/acinclude.m4 b/Zend/acinclude.m4
index 9d6cb1da63..32a39891c1 100644
--- a/Zend/acinclude.m4
+++ b/Zend/acinclude.m4
@@ -107,7 +107,7 @@ int main(void)
], [ac_cv_c_bigendian_php=yes], [ac_cv_c_bigendian_php=no], [ac_cv_c_bigendian_php=unknown])
])
if test $ac_cv_c_bigendian_php = yes; then
- AC_DEFINE(WORDS_BIGENDIAN, [], [Define if processor uses big-endian word])
+ AC_DEFINE(WORDS_BIGENDIAN, 1, [Define if processor uses big-endian word])
fi
])