unixodbc+linux32 doesn't compile with SQLPOINTER & SQLColAttribute() - old story with ODBC 32/64 API compatibility

This commit is contained in:
Marian Krivos 2009-03-08 16:50:04 +00:00
parent 4faf23e1e7
commit e0c971a581

View File

@ -73,7 +73,7 @@ namespace Data {
namespace ODBC {
#if defined(POCO_PTR_IS_64_BIT)
#if defined(POCO_PTR_IS_64_BIT) || defined(POCO_UNIXODBC) // mkrivos - unixodbc+linux32 doesn't compile with SQLPOINTER & SQLColAttribute()
typedef SQLLEN* NumAttrPtrType;
#else
typedef SQLPOINTER NumAttrPtrType;