Automated update from Qt3

pull/1/head
Timothy Pearson 12 years ago
parent e6ee551961
commit f27c2533f7

@ -17,7 +17,7 @@ mac {
unix { unix {
OBJECTS_DIR = .obj OBJECTS_DIR = .obj
!contains( LIBS, .*odbc.* ) { !contains( LIBS, .*odbc.* ) {
LIBS *= -liodbc LIBS *= -lodbc
} }
} }

@ -61,19 +61,18 @@
#endif #endif
// newer platform SDKs use SQLLEN instead of SQLINTEGER // newer platform SDKs use SQLLEN instead of SQLINTEGER
#ifdef SQLLEN #if defined(SQLLEN) || defined(Q_OS_WIN64) || defined(Q_OS_UNIX)
# define TQSQLLEN SQLLEN # define TQSQLLEN SQLLEN
#else #else
# define TQSQLLEN SQLINTEGER # define TQSQLLEN SQLINTEGER
#endif #endif
#ifdef SQLULEN #if defined(SQLULEN) || defined(Q_OS_WIN64) || defined(Q_OS_UNIX)
# define TQSQLULEN SQLULEN # define TQSQLULEN SQLULEN
#else #else
# define TQSQLULEN SQLUINTEGER # define TQSQLULEN SQLUINTEGER
#endif #endif
static const TQSQLLEN COLNAMESIZE = 256; static const TQSQLLEN COLNAMESIZE = 256;
//Map TQt parameter types to ODBC types //Map TQt parameter types to ODBC types
static const SQLSMALLINT qParamType[ 4 ] = { SQL_PARAM_INPUT, SQL_PARAM_INPUT, SQL_PARAM_OUTPUT, SQL_PARAM_INPUT_OUTPUT }; static const SQLSMALLINT qParamType[ 4 ] = { SQL_PARAM_INPUT, SQL_PARAM_INPUT, SQL_PARAM_OUTPUT, SQL_PARAM_INPUT_OUTPUT };

@ -110,13 +110,13 @@ sql {
mac { mac {
!contains( LIBS, .*odbc.* ) { !contains( LIBS, .*odbc.* ) {
LIBS *= -liodbc LIBS *= -lodbc
} }
} }
unix { unix {
!contains( LIBS, .*odbc.* ) { !contains( LIBS, .*odbc.* ) {
LIBS *= -liodbc LIBS *= -lodbc
} }
} }

Loading…
Cancel
Save