From effe87122fa0e8322da04c998a794994546aff83 Mon Sep 17 00:00:00 2001 From: Felipe Pena Date: Sat, 8 Mar 2008 14:04:53 +0000 Subject: [PATCH] MFB: Fixed bug #44373 (PDO_OCI extension compile failed) --- ext/pdo_oci/oci_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/pdo_oci/oci_driver.c b/ext/pdo_oci/oci_driver.c index 112c9a070d..ef73bb27d7 100755 --- a/ext/pdo_oci/oci_driver.c +++ b/ext/pdo_oci/oci_driver.c @@ -492,7 +492,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 -- 2.50.1