summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorOcke Janssen <oj@openoffice.org>2001-01-10 13:35:59 +0000
committerOcke Janssen <oj@openoffice.org>2001-01-10 13:35:59 +0000
commit7c6561673ee411384fe01f64fc9de23cdd66a6aa (patch)
tree513a65a2f1d4ada42762a13aeda6139b06cb6b9c /connectivity
parentfaed9f49109afb1ef49281f7ebbea61a3e667719 (diff)
#82620# calling convention changed
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/inc/odbc/OFunctiondefs.hxx11
1 files changed, 9 insertions, 2 deletions
diff --git a/connectivity/source/inc/odbc/OFunctiondefs.hxx b/connectivity/source/inc/odbc/OFunctiondefs.hxx
index 703b016f3445..87052733230f 100644
--- a/connectivity/source/inc/odbc/OFunctiondefs.hxx
+++ b/connectivity/source/inc/odbc/OFunctiondefs.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: OFunctiondefs.hxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: oj $ $Date: 2000-10-30 11:02:28 $
+ * last change: $Author: oj $ $Date: 2001-01-10 14:35:59 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -65,7 +65,14 @@
#if defined(WIN) || defined(WNT)
+// just to go with calling convention of windows
+#define SQL_API __stdcall
+#ifndef __SQLEXT_H
#include <odbc/sqlext.h>
+#endif
+#undef SQL_API
+#define SQL_API __stdcall
+
#ifndef SQL_C_BOOKMARK
#define SQL_C_BOOKMARK SQL_C_ULONG /* BOOKMARK */