aboutsummaryrefslogtreecommitdiff
path: root/odb/mssql/mssql-fwd.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-11-17 11:31:00 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-11-17 11:31:00 +0200
commit61e6f0fded93f1e2105d7f4734b280712afe0c59 (patch)
treeb462d0b4e27456300c6c21afad21a6d0afa4341e /odb/mssql/mssql-fwd.hxx
parent00d972abb9dcbe7c99cd9b94cefc725024cfb4bc (diff)
Add connection, connection-factory implementations
Diffstat (limited to 'odb/mssql/mssql-fwd.hxx')
-rw-r--r--odb/mssql/mssql-fwd.hxx15
1 files changed, 15 insertions, 0 deletions
diff --git a/odb/mssql/mssql-fwd.hxx b/odb/mssql/mssql-fwd.hxx
index c837cd5..bee639b 100644
--- a/odb/mssql/mssql-fwd.hxx
+++ b/odb/mssql/mssql-fwd.hxx
@@ -22,6 +22,21 @@ typedef unsigned short SQLUSMALLINT;
typedef void* SQLHANDLE;
typedef SQLHANDLE SQLHENV;
+typedef SQLHANDLE SQLHDBC;
+typedef SQLHANDLE SQLHSTMT;
+typedef SQLHANDLE SQLHDESC;
+
+// If you get a redefinition error or warning for one of these macros,
+// then that means you included this header (or one that includes it),
+// before <sql.h> or <sqlext.h>. As a general rule, include <sql.h> or
+// <sqlext.h> before any of the ODB headers.
+//
+#ifndef SQL_HANDLE_ENV
+# define SQL_HANDLE_ENV 1
+# define SQL_HANDLE_DBC 2
+# define SQL_HANDLE_STMT 3
+# define SQL_HANDLE_DESC 4
+#endif
#include <odb/post.hxx>