From: Christopher Jones Date: Thu, 14 Apr 2016 05:49:15 +0000 (+1000) Subject: On second thoughts, keep this in sync with 5.6 for 71422 X-Git-Tag: php-7.0.7RC1~112 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ec358dac030b21c963c09892bf168cd6ad145425;p=php On second thoughts, keep this in sync with 5.6 for 71422 --- diff --git a/ext/oci8/oci8_statement.c b/ext/oci8/oci8_statement.c index 5fc21c2fbd..55983d3e9f 100644 --- a/ext/oci8/oci8_statement.c +++ b/ext/oci8/oci8_statement.c @@ -1149,7 +1149,8 @@ int php_oci_bind_by_name(php_oci_statement *statement, char *name, size_t name_l return 1; } convert_to_long(var); -#if defined(OCI_MAJOR_VERSION) && OCI_MAJOR_VERSION > 10 +#if defined(OCI_MAJOR_VERSION) && (OCI_MAJOR_VERSION > 10) && \ + (defined(__x86_64__) || defined(__LP64__) || defined(_LP64) || defined(_WIN64)) bind_data = (ub8 *)&Z_LVAL_P(var); value_sz = sizeof(ub8); #else