summaryrefslogtreecommitdiff
path: root/src/interfaces/odbc/isql.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/interfaces/odbc/isql.h')
-rw-r--r--src/interfaces/odbc/isql.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/interfaces/odbc/isql.h b/src/interfaces/odbc/isql.h
index 7c7cfca3c5b..8c0203a5ea3 100644
--- a/src/interfaces/odbc/isql.h
+++ b/src/interfaces/odbc/isql.h
@@ -24,7 +24,9 @@ typedef signed short RETCODE;
# define SQL_API EXPORT CALLBACK
# endif
+#ifndef ODBCVER
# define ODBCVER 0x0200
+#endif
# define SQL_MAX_MESSAGE_LENGTH 512
# define SQL_MAX_DSN_LENGTH 32