From: Felipe Pena Date: Sat, 8 Mar 2008 14:01:49 +0000 (+0000) Subject: Fixed bug #44373 (PDO_OCI extension compile failed) X-Git-Tag: php-5.2.6RC3~64 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e1cf7f0ca62793cad8bffbb6d7e5c576d6a92252;p=php Fixed bug #44373 (PDO_OCI extension compile failed) --- diff --git a/ext/pdo_oci/oci_driver.c b/ext/pdo_oci/oci_driver.c index 1e5e83a867..f761c14f90 100755 --- a/ext/pdo_oci/oci_driver.c +++ b/ext/pdo_oci/oci_driver.c @@ -494,7 +494,7 @@ static int oci_handle_get_attribute(pdo_dbh_t *dbh, long attr, zval *return_valu OCIClientVersion(&major, &minor, &update, &patch, &port_update); slprintf(verstr, sizeof(verstr), "%d.%d.%d.%d.%d", major, minor, update, patch, port_update); ZVAL_STRING(return_value, verstr, 1); -#elif PHP_PDO_OCI_CLIENT_VERSION +#elif defined(PHP_PDO_OCI_CLIENT_VERSION) /* Compile time client version */ ZVAL_STRING(return_value, PHP_PDO_OCI_CLIENT_VERSION, 1); #else