diff options
author | Wez Furlong <wez@php.net> | 2005-01-13 02:06:39 +0000 |
---|---|---|
committer | Wez Furlong <wez@php.net> | 2005-01-13 02:06:39 +0000 |
commit | f17311c9ddd882fd3e3774ac8b2d05ad722c9461 (patch) | |
tree | ee9e84f7351acb2cfaa54e25027efe25dfc5fff9 /ext/odbc/php_odbc_includes.h | |
parent | ef0de01b62abcaaa72d85c64d27adcbc5945e157 (diff) | |
download | php-git-f17311c9ddd882fd3e3774ac8b2d05ad722c9461.tar.gz |
Add support for ODBCRouter
Diffstat (limited to 'ext/odbc/php_odbc_includes.h')
-rw-r--r-- | ext/odbc/php_odbc_includes.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ext/odbc/php_odbc_includes.h b/ext/odbc/php_odbc_includes.h index 4a2f1ec176..6bbd0ee957 100644 --- a/ext/odbc/php_odbc_includes.h +++ b/ext/odbc/php_odbc_includes.h @@ -126,6 +126,20 @@ PHP_FUNCTION(solid_fetch_prev); #include <sqlext.h> #define HAVE_SQL_EXTENDED_FETCH 1 +#elif defined(HAVE_ODBC_ROUTER) /* ODBCRouter.com */ + +#ifdef CHAR +#undef CHAR +#endif + +#ifdef SQLCHAR +#undef SQLCHAR +#endif + +#define ODBC_TYPE "ODBCRouter" +#include <odbcsdk.h> +#undef HAVE_SQL_EXTENDED_FETCH + #elif defined(HAVE_OPENLINK) /* OpenLink ODBC drivers */ #define ODBC_TYPE "Openlink" |