X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cd5bf2a6e3a7d03e8b1f97e989eecdcc63f7151f..b9efe021b554fa3967d1442cf758435c5cd5ae8f:/src/iodbc/isql.h?ds=inline diff --git a/src/iodbc/isql.h b/src/iodbc/isql.h index 5774241d4c..e3658afd30 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,20 @@ #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 void FAR *PTR; typedef void FAR *HENV; @@ -215,7 +221,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,