From: Felipe Pena Date: Wed, 16 Nov 2011 12:13:22 +0000 (+0000) Subject: - Fixed bug #60267 (Compile failure with freetds 0.91) X-Git-Tag: php-5.5.0alpha1~882 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=595ac67a5220ea69b88b644d3af89cacadd2d53b;p=php - Fixed bug #60267 (Compile failure with freetds 0.91) --- 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 #include