summaryrefslogtreecommitdiff
path: root/ext/mbstring
diff options
context:
space:
mode:
authorLauri Kenttä <lauri.kentta@gmail.com>2015-04-12 12:38:36 +0300
committerAnatol Belski <ab@php.net>2015-04-13 10:11:38 +0200
commit533c4be0d55cf4a6086beab84e5d3ccdbeeb5314 (patch)
treed5ad05f968c497540933bb5b7b87b0b273b67a69 /ext/mbstring
parent0981345734f05d65dce3b52cefa3a393995ab0ce (diff)
downloadphp-git-533c4be0d55cf4a6086beab84e5d3ccdbeeb5314.tar.gz
Fix compile error when oniguruma is not available
Diffstat (limited to 'ext/mbstring')
-rw-r--r--ext/mbstring/mbstring.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/mbstring/mbstring.c b/ext/mbstring/mbstring.c
index 857ad7097e..8ade984ffb 100644
--- a/ext/mbstring/mbstring.c
+++ b/ext/mbstring/mbstring.c
@@ -1716,11 +1716,13 @@ PHP_MINFO_FUNCTION(mbstring)
snprintf(tmp, sizeof(tmp), "%d.%d.%d", MBFL_VERSION_MAJOR, MBFL_VERSION_MINOR, MBFL_VERSION_TEENY);
php_info_print_table_row(2, "libmbfl version", tmp);
}
+#if HAVE_ONIG
{
char tmp[256];
snprintf(tmp, sizeof(tmp), "%d.%d.%d", ONIGURUMA_VERSION_MAJOR, ONIGURUMA_VERSION_MINOR, ONIGURUMA_VERSION_TEENY);
php_info_print_table_row(2, "oniguruma version", tmp);
}
+#endif
php_info_print_table_end();
php_info_print_table_start();