* iODBC defines
*
* The iODBC driver manager.
- *
- * Copyright (C) 1995 by Ke Jin <kejin@empress.com>
+ *
+ * Copyright (C) 1995 by Ke Jin <kejin@empress.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
#ifndef _ISQL_H
#define _ISQL_H
-#if defined(__WIN16__)
+#if defined(WIN32)
+#define SQL_API __stdcall
-#define SQL_API EXPORT CALLBACK
-#ifndef EXPORT
-#define EXPORT _export
+#ifndef FAR
+#define FAR
#endif
-#elif defined(WIN32)
-#define SQL_API __stdcall
+#elif defined(__OS2__)
+#define SQL_API _Optlink
-#ifndef FAR
-#define FAR
+#ifndef FAR
+#define FAR
+#define EXPORT
+#define CALLBACK
#endif
#else
#define CALLBACK
#define SQL_API EXPORT CALLBACK
+#ifndef __EMX__
typedef void *HWND;
#endif
+#endif
typedef void *SQLHWND;