]> git.saurik.com Git - wxWidgets.git/commitdiff
Attempting to allow WIN16 compilation of the db/dbtable classes
authorGeorge Tasker <gtasker@allenbrook.com>
Thu, 27 Jan 2000 22:47:49 +0000 (22:47 +0000)
committerGeorge Tasker <gtasker@allenbrook.com>
Thu, 27 Jan 2000 22:47:49 +0000 (22:47 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/iodbc/info.c
src/iodbc/isql.h

index f64c08189893f972f7b9e53ea46afc8c7294e602..f5efc7e3f7b97e40d194b486bb7d80b1c0f60c1b 100644 (file)
@@ -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
    */
index a1f406626dc0b7550911455df57909cac85b7c6c..9309ca6a898b80a66ad61b6279bba5676512dc33 100644 (file)
@@ -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;