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.3.9RC2~41 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=48b853c82f882f29082c5fb520b8cd6019b6a0cb;p=php - Fixed bug #60267 (Compile failure with freetds 0.91) --- diff --git a/NEWS b/NEWS index 1b40334ce7..a8dc3a2e95 100644 --- a/NEWS +++ b/NEWS @@ -20,6 +20,9 @@ PHP NEWS - Gd: . Fixed bug #60160 (imagefill() doesn't work correctly for small images). (Florian) + +- MS SQL: + . Fixed bug #60267 (Compile failure with freetds 0.91). (Felipe) - OpenSSL: . Fixed bug #60279 (Fixed NULL pointer dereference in 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