From 0bd55cfa2c5c18d4e9241cf90195e30d0be5d905 Mon Sep 17 00:00:00 2001 From: George Tasker Date: Thu, 27 Jan 2000 22:47:49 +0000 Subject: [PATCH] Attempting to allow WIN16 compilation of the db/dbtable classes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/iodbc/info.c | 8 ++++++-- src/iodbc/isql.h | 2 ++ 2 files changed, 8 insertions(+), 2 deletions(-) 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; -- 2.45.2