X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/16b52fa1b7a95f89e93d2812758cb511b6553120..2b96d0fb4be7d684c17987d74f8f92d0cfe345b5:/include/wx/isql.h diff --git a/include/wx/isql.h b/include/wx/isql.h index a1f406626d..9edfae366a 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 @@ -26,8 +26,29 @@ #ifndef _ISQL_H #define _ISQL_H -#ifdef WIN32 +#if defined(__WIN16__) + +#define SQL_API EXPORT CALLBACK +#ifndef EXPORT +#define EXPORT _export +#endif + +#elif defined(WIN32) #define SQL_API __stdcall + +#ifndef FAR +#define FAR +#endif + +#elif defined(__OS2__) +#define SQL_API _Optlink + +#ifndef FAR +#define FAR +#define EXPORT +#define CALLBACK +#endif + #else #define FAR #define EXPORT