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
This commit is contained in:
parent
d76fe38b29
commit
0bd55cfa2c
@ -193,13 +193,17 @@ SQLDataSources (
|
|||||||
* Copy DSN information
|
* Copy DSN information
|
||||||
*/
|
*/
|
||||||
STRNCPY (szDSN, sect[cur_entry], cbDSNMax);
|
STRNCPY (szDSN, sect[cur_entry], cbDSNMax);
|
||||||
|
/*
|
||||||
|
glt??? pcbDSN = strlen(szDSN);
|
||||||
|
*/
|
||||||
/*
|
/*
|
||||||
* And find the description that goes with this entry
|
* And find the description that goes with this entry
|
||||||
*/
|
*/
|
||||||
_iodbcdm_getkeyvalbydsn (sect[cur_entry], strlen (sect[cur_entry]),
|
_iodbcdm_getkeyvalbydsn (sect[cur_entry], strlen (sect[cur_entry]),
|
||||||
"Description", (char*) szDesc, cbDescMax);
|
"Description", (char*) szDesc, cbDescMax);
|
||||||
|
/*
|
||||||
|
glt??? pcbDesc = strlen(szDesc);
|
||||||
|
*/
|
||||||
/*
|
/*
|
||||||
* Next record
|
* Next record
|
||||||
*/
|
*/
|
||||||
|
@ -26,6 +26,7 @@
|
|||||||
#ifndef _ISQL_H
|
#ifndef _ISQL_H
|
||||||
#define _ISQL_H
|
#define _ISQL_H
|
||||||
|
|
||||||
|
#ifndef WIN16
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
#define SQL_API __stdcall
|
#define SQL_API __stdcall
|
||||||
#else
|
#else
|
||||||
@ -36,6 +37,7 @@
|
|||||||
|
|
||||||
typedef void *HWND;
|
typedef void *HWND;
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef void *SQLHWND;
|
typedef void *SQLHWND;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user