From 595ac67a5220ea69b88b644d3af89cacadd2d53b Mon Sep 17 00:00:00 2001 From: Felipe Pena Date: Wed, 16 Nov 2011 12:13:22 +0000 Subject: - Fixed bug #60267 (Compile failure with freetds 0.91) --- ext/mssql/php_mssql.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ext/mssql/php_mssql.h') 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 -- cgit v1.2.1