diff options
| author | Christopher Jones <christopher.jones@oracle.com> | 2016-04-14 15:49:15 +1000 |
|---|---|---|
| committer | Christopher Jones <christopher.jones@oracle.com> | 2016-04-14 15:49:15 +1000 |
| commit | ec358dac030b21c963c09892bf168cd6ad145425 (patch) | |
| tree | 1adbaad1bc712f7455a5f47faa991c22c852874c | |
| parent | 96ece22a058e48f82ea49f1f34b8c6110dbae28b (diff) | |
| download | php-git-ec358dac030b21c963c09892bf168cd6ad145425.tar.gz | |
On second thoughts, keep this in sync with 5.6 for 71422
| -rw-r--r-- | ext/oci8/oci8_statement.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 |
