diff options
author | Felipe Pena <felipe@php.net> | 2011-11-16 12:13:22 +0000 |
---|---|---|
committer | Felipe Pena <felipe@php.net> | 2011-11-16 12:13:22 +0000 |
commit | 595ac67a5220ea69b88b644d3af89cacadd2d53b (patch) | |
tree | 354890ae4c8d1655cf418c51be95467e98eb1df9 /ext/mssql/php_mssql.h | |
parent | 80467296711435603e4e6696eb27b9f969377cea (diff) | |
download | php-git-595ac67a5220ea69b88b644d3af89cacadd2d53b.tar.gz |
- Fixed bug #60267 (Compile failure with freetds 0.91)
Diffstat (limited to 'ext/mssql/php_mssql.h')
-rw-r--r-- | ext/mssql/php_mssql.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/mssql/php_mssql.h b/ext/mssql/php_mssql.h index b5be0259d5..46290c1657 100644 --- a/ext/mssql/php_mssql.h +++ b/ext/mssql/php_mssql.h @@ -26,6 +26,11 @@ #if HAVE_MSSQL #define MSDBLIB +/* FreeTDS checks for PHP_MSSQL_API for avoid type redefinition */ +#ifdef HAVE_FREETDS +#define PHP_MSSQL_API +#endif + #include <sqlfront.h> #include <sqldb.h> |