X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/96820af7cb5584b3d1791001db67d4f2a092466b..b38b0d22d7a97ff66d824e11e3e1c96c4423900b:/include/wx/isql.h diff --git a/include/wx/isql.h b/include/wx/isql.h index e971f02468..5d4bb72fe2 100644 --- a/include/wx/isql.h +++ b/include/wx/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 @@ -36,8 +36,17 @@ #elif defined(WIN32) #define SQL_API __stdcall -#ifndef FAR -#define FAR +#ifndef FAR +#define FAR +#endif + +#elif defined(__OS2__) +#define SQL_API _Optlink + +#ifndef FAR +#define FAR +#define EXPORT +#define CALLBACK #endif #else @@ -46,8 +55,10 @@ #define CALLBACK #define SQL_API EXPORT CALLBACK +#ifndef __EMX__ typedef void *HWND; #endif +#endif typedef void *SQLHWND;