diff -Naur unixODBC-2.2.12.orig/DriverManager/DriverManager.exp unixODBC-2.2.12/DriverManager/DriverManager.exp --- unixODBC-2.2.12.orig/DriverManager/DriverManager.exp 2005-03-09 04:06:42.000000000 -0500 +++ unixODBC-2.2.12/DriverManager/DriverManager.exp 2008-07-28 20:50:14.000000000 -0400 @@ -153,6 +153,8 @@ SQLTablesA SQLTransact ODBCSharedTraceFlag +dm_log_write +__post_internal_error uodbc_open_stats uodbc_close_stats uodbc_get_stats diff -Naur unixODBC-2.2.12.orig/cur/Makefile.am unixODBC-2.2.12/cur/Makefile.am --- unixODBC-2.2.12.orig/cur/Makefile.am 2005-10-18 13:07:31.000000000 -0400 +++ unixODBC-2.2.12/cur/Makefile.am 2008-07-28 20:50:14.000000000 -0400 @@ -9,7 +9,7 @@ libodbccr_la_LDFLAGS = \ -version-info @LIB_VERSION@ \ - -export-symbols @srcdir@/cur.exp -export-dynamic + -export-symbols @srcdir@/cur.exp -export-dynamic ../DriverManager/libodbc.la libodbccr_la_SOURCES = \ SQLAllocHandle.c \ diff -Naur unixODBC-2.2.12.orig/cur/Makefile.in unixODBC-2.2.12/cur/Makefile.in --- unixODBC-2.2.12.orig/cur/Makefile.in 2006-08-31 08:24:23.000000000 -0400 +++ unixODBC-2.2.12/cur/Makefile.in 2008-07-28 20:50:14.000000000 -0400 @@ -252,7 +252,7 @@ libodbccr_la_LDFLAGS = \ -version-info @LIB_VERSION@ \ - -export-symbols @srcdir@/cur.exp -export-dynamic + -export-symbols @srcdir@/cur.exp -export-dynamic ../DriverManager/libodbc.la libodbccr_la_SOURCES = \ SQLAllocHandle.c \ diff -Naur unixODBC-2.2.12.orig/sqp/sqpStoreDataType.c unixODBC-2.2.12/sqp/sqpStoreDataType.c --- unixODBC-2.2.12.orig/sqp/sqpStoreDataType.c 2004-07-26 04:34:47.000000000 -0400 +++ unixODBC-2.2.12/sqp/sqpStoreDataType.c 2008-07-28 20:50:14.000000000 -0400 @@ -8,6 +8,13 @@ #include "sqp.h" #include +#ifndef WIN32 +#ifndef HAVE_STRICMP +#define stricmp(s1,s2) strcasecmp(s1,s2) +#define strnicmp(s1,s2,n) strncasecmp(s1,s2,n) +#endif +#endif + void sqpStoreDataType( char *pszType, int nPrecision, int nScale ) {