]> granicus.if.org Git - php/commitdiff
- Fixed bug #60267 (Compile failure with freetds 0.91)
authorFelipe Pena <felipe@php.net>
Wed, 16 Nov 2011 12:13:22 +0000 (12:13 +0000)
committerFelipe Pena <felipe@php.net>
Wed, 16 Nov 2011 12:13:22 +0000 (12:13 +0000)
ext/mssql/php_mssql.h

index b5be0259d50368c6266a7adaaf09dd9c7f07f04b..46290c165719a22df3710240fe519e8cc05de8ef 100644 (file)
 #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>