diff --git a/src/iodbc/info.c b/src/iodbc/info.c index f64c081898..f5efc7e3f7 100644 --- a/src/iodbc/info.c +++ b/src/iodbc/info.c @@ -193,13 +193,17 @@ SQLDataSources ( * Copy DSN information */ STRNCPY (szDSN, sect[cur_entry], cbDSNMax); - +/* +glt??? pcbDSN = strlen(szDSN); +*/ /* * And find the description that goes with this entry */ _iodbcdm_getkeyvalbydsn (sect[cur_entry], strlen (sect[cur_entry]), "Description", (char*) szDesc, cbDescMax); - +/* +glt??? pcbDesc = strlen(szDesc); +*/ /* * Next record */ diff --git a/src/iodbc/isql.h b/src/iodbc/isql.h index a1f406626d..9309ca6a89 100644 --- a/src/iodbc/isql.h +++ b/src/iodbc/isql.h @@ -26,6 +26,7 @@ #ifndef _ISQL_H #define _ISQL_H +#ifndef WIN16 #ifdef WIN32 #define SQL_API __stdcall #else @@ -36,6 +37,7 @@ typedef void *HWND; #endif +#endif typedef void *SQLHWND;