com php-src: On second thoughts, keep this in sync with 5.6 for 71422: ext/oci8/oci8_statement.c

From: Date: Thu, 14 Apr 2016 05:49:15 +0000
Subject: com php-src: On second thoughts, keep this in sync with 5.6 for 71422: ext/oci8/oci8_statement.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-91720@lists.php.net to get a copy of this message
Commit: ec358dac030b21c963c09892bf168cd6ad145425 Author: Christopher Jones <christopher.jones@oracle.com> Thu, 14 Apr 2016 15:49:15 +1000 Parents: 96ece22a058e48f82ea49f1f34b8c6110dbae28b Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=ec358dac030b21c963c09892bf168cd6ad145425 Log: On second thoughts, keep this in sync with 5.6 for 71422 Changed paths: M ext/oci8/oci8_statement.c Diff: diff --git a/ext/oci8/oci8_statement.c b/ext/oci8/oci8_statement.c index 5fc21c2..55983d3 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

« previous php.cvs (#91720) next »