]> granicus.if.org Git - php/commitdiff
- Fix the "php -v" output when neither --enable-debug or --enable-gcov
authorfoobar <sniper@php.net>
Sat, 12 Nov 2005 00:38:00 +0000 (00:38 +0000)
committerfoobar <sniper@php.net>
Sat, 12 Nov 2005 00:38:00 +0000 (00:38 +0000)
  is used.
#
# Rasmus, now it should give proper output, please test.

sapi/cli/php_cli.c

index e4ba74610421cbf7969c43457f72c20e53637c49..7f971345ea78fb12f2e1cdf8eac75abc7bda6077 100644 (file)
@@ -744,6 +744,8 @@ int main(int argc, char *argv[])
                                        "(DEBUG)",
 #elif defined(HAVE_GCOV)
                                        "(GCOV)",
+#else
+                                       "",
 #endif
                                        get_zend_version()
                                );