Deleted Added
full compact
49a50,64
> /*
> * MSVC6 does not support intptr_t (C99)
> * APR does not have a signed inptr type until 2.0 (r1557720)
> */
> #if defined(_MSC_VER) && _MSC_VER < 1400
> #if APR_SIZEOF_VOIDP == 8
> #define ODBC_INTPTR_T apr_int64_t
> #else
> #define ODBC_INTPTR_T apr_int32_t
> #endif
> #else
> #define ODBC_INTPTR_T intptr_t
> #endif
>
>
117,119c132,134
< intptr_t transaction_mode;
< intptr_t dboptions; /* driver options re SQLGetData */
< intptr_t default_transaction_mode;
---
> ODBC_INTPTR_T transaction_mode;
> ODBC_INTPTR_T dboptions; /* driver options re SQLGetData */
> ODBC_INTPTR_T default_transaction_mode;
362c377
< intptr_t maxsize, textsize, realsize, type, isunsigned = 1;
---
> ODBC_INTPTR_T maxsize, textsize, realsize, type, isunsigned = 1;
750c765
< intptr_t options = row->res->apr_dbd->dboptions;
---
> ODBC_INTPTR_T options = row->res->apr_dbd->dboptions;
820c835
< int **attrs, intptr_t **attrvals)
---
> int **attrs, ODBC_INTPTR_T **attrvals)
826c841
< *attrvals = apr_pcalloc(pool, MAX_PARAMS * sizeof(intptr_t));
---
> *attrvals = apr_pcalloc(pool, MAX_PARAMS * sizeof(ODBC_INTPTR_T));
1066c1081
< intptr_t *attrvals = NULL;
---
> ODBC_INTPTR_T *attrvals = NULL;
1120c1135
< &(handle->default_transaction_mode), sizeof(intptr_t), NULL);
---
> &(handle->default_transaction_mode), sizeof(ODBC_INTPTR_T), NULL);
1123c1138
< sizeof(intptr_t), NULL);
---
> sizeof(ODBC_INTPTR_T), NULL);