aboutsummaryrefslogtreecommitdiff
path: root/odb/mssql/mssql.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-12-21 11:19:24 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-12-21 11:19:24 +0200
commit28b329b63a3919020a9286b557f7938dc8fbd746 (patch)
tree45ff48d166a6dd4f02f710fe96d34fd10b4003e9 /odb/mssql/mssql.hxx
parent213740c161499a5961fa426d1b77c7d68763c5df (diff)
ODB compiler implementation, traits, and types test for SQL Server
Diffstat (limited to 'odb/mssql/mssql.hxx')
-rw-r--r--odb/mssql/mssql.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/odb/mssql/mssql.hxx b/odb/mssql/mssql.hxx
index 8c455ba..f223837 100644
--- a/odb/mssql/mssql.hxx
+++ b/odb/mssql/mssql.hxx
@@ -47,6 +47,11 @@
# define SQL_MARS_ENABLED_YES 1L
#endif
+#ifndef SQL_SS_TIME2
+# define SQL_SS_TIME2 (-154)
+# define SQL_SS_TIMESTAMPOFFSET (-155)
+#endif
+
// unixODBC doesn't define SQL_PARAM_DATA_AVAILABLE even though it
// claims ODBC version 3.80.
//