summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorFelipe Pena <felipe@php.net>2008-03-08 14:03:20 +0000
committerFelipe Pena <felipe@php.net>2008-03-08 14:03:20 +0000
commit739a4d503b83cf5122bff59a13b48797ac649ff9 (patch)
treeeadbd14e3f845cf6b614fc330a8e2156a58f2c92 /ext
parent03444a67be7f2328cfedf4d77853bb426d2cda83 (diff)
downloadphp-git-739a4d503b83cf5122bff59a13b48797ac649ff9.tar.gz
MFB: Fixed bug #44373 (PDO_OCI extension compile failed)
Diffstat (limited to 'ext')
-rwxr-xr-xext/pdo_oci/oci_driver.c2
1 files changed, 1 insertions, 1 deletions
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