From ec358dac030b21c963c09892bf168cd6ad145425 Mon Sep 17 00:00:00 2001 From: Christopher Jones Date: Thu, 14 Apr 2016 15:49:15 +1000 Subject: [PATCH] On second thoughts, keep this in sync with 5.6 for 71422 --- ext/oci8/oci8_statement.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.50.1