X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cd5bf2a6e3a7d03e8b1f97e989eecdcc63f7151f..9d5507f7a2701395e1d5c121bd877bb9066ee6ea:/src/iodbc/isql.h diff --git a/src/iodbc/isql.h b/src/iodbc/isql.h index 5774241d4c..87b599b477 100644 --- a/src/iodbc/isql.h +++ b/src/iodbc/isql.h @@ -6,8 +6,8 @@ * iODBC defines * * The iODBC driver manager. - * - * Copyright (C) 1995 by Ke Jin + * + * Copyright (C) 1995 by Ke Jin * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public @@ -26,6 +26,7 @@ #ifndef _ISQL_H #define _ISQL_H +#ifndef WIN16 #ifdef WIN32 #define SQL_API __stdcall #else @@ -33,15 +34,21 @@ #define EXPORT #define CALLBACK #define SQL_API EXPORT CALLBACK - +#ifndef __EMX__ typedef void *HWND; #endif +#endif +#endif + +typedef void *SQLHWND; typedef unsigned char UCHAR; typedef long int SDWORD; typedef short int SWORD; typedef unsigned long int UDWORD; typedef unsigned short int UWORD; +typedef long SQLINTEGER; +typedef UDWORD SQLUINTEGER; typedef void FAR *PTR; typedef void FAR *HENV; @@ -215,7 +222,7 @@ extern "C" RETCODE SQL_API SQLTransact (HENV henv, HDBC hdbc, UWORD fType); /* - * Depreciated ODBC 1.0 function - Use SQLBindParameter + * Deprecated ODBC 1.0 function - Use SQLBindParameter */ RETCODE SQL_API SQLSetParam (HSTMT hstmt, UWORD ipar, SWORD fCType, SWORD fSqlType, UDWORD cbColDef, SWORD ibScale, PTR rgbValue,