]> granicus.if.org Git - php/commitdiff
MFB: Fixed bug #44373 (PDO_OCI extension compile failed)
authorFelipe Pena <felipe@php.net>
Sat, 8 Mar 2008 14:04:53 +0000 (14:04 +0000)
committerFelipe Pena <felipe@php.net>
Sat, 8 Mar 2008 14:04:53 +0000 (14:04 +0000)
ext/pdo_oci/oci_driver.c

index 112c9a070da3a453f66ea8683a051c9cbc049509..ef73bb27d758be53e3466c16ba06acec8a2165e2 100755 (executable)
@@ -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