aboutsummaryrefslogtreecommitdiff
path: root/odb/mssql/odbc.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/mssql/odbc.hxx')
-rw-r--r--odb/mssql/odbc.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/odb/mssql/odbc.hxx b/odb/mssql/odbc.hxx
index 91023b3..7276a40 100644
--- a/odb/mssql/odbc.hxx
+++ b/odb/mssql/odbc.hxx
@@ -8,6 +8,12 @@
#include <odb/pre.hxx>
+// This file should always be included before mssql-fwd.hxx.
+//
+#ifdef ODB_MSSQL_MSSQL_FWD_HXX
+# error odb/mssql/mssql-fwd.hxx included before odb/mssql/odbc.hxx
+#endif
+
#ifdef _WIN32
# ifndef WIN32_LEAN_AND_MEAN
# define WIN32_LEAN_AND_MEAN