aboutsummaryrefslogtreecommitdiff
path: root/odb/mssql/mssql-fwd.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/mssql/mssql-fwd.hxx')
-rw-r--r--odb/mssql/mssql-fwd.hxx22
1 files changed, 22 insertions, 0 deletions
diff --git a/odb/mssql/mssql-fwd.hxx b/odb/mssql/mssql-fwd.hxx
new file mode 100644
index 0000000..434edb1
--- /dev/null
+++ b/odb/mssql/mssql-fwd.hxx
@@ -0,0 +1,22 @@
+// file : odb/mssql/mssql-fwd.hxx
+// author : Boris Kolpackov <boris@codesynthesis.com>
+// copyright : Copyright (c) 2005-2011 Code Synthesis Tools CC
+// license : GNU GPL v2; see accompanying LICENSE file
+
+#ifndef ODB_MSSQL_MSSQL_FWD_HXX
+#define ODB_MSSQL_MSSQL_FWD_HXX
+
+#include <odb/pre.hxx>
+
+// Forward declaration for some of the types defined in sqltypes.h or
+// sqlncli.h. This allows us to avoid having to include these files
+// in public headers.
+//
+#ifdef _WIN32
+typedef long SQLINTEGER;
+typedef unsigned long SQLUINTEGER;
+#endif
+
+#include <odb/post.hxx>
+
+#endif // ODB_MSSQL_MSSQL_FWD_HXX