freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Stuart Henderson <stu AT spacehopper.org>
- To: freetds AT lists.ibiblio.org
- Subject: [freetds] php 5.3 sqlfront.h
- Date: Tue, 13 Sep 2011 11:02:21 +0000 (UTC)
php 5.3 no longer defines PHP_MSSQL_API, so the ifdef in sqlfront.h
doesn't knock out the conflicting typedef. With the diff below, both
php 5.2 and 5.3 build successfully.
--- include/sqlfront.h.orig Wed Sep 7 11:11:22 2011
+++ include/sqlfront.h Wed Sep 7 11:14:15 2011
@@ -31,7 +31,7 @@ typedef DBCURSOR * PDBCURSOR;
typedef int * LPINT;
typedef char * LPSTR;
-#if !defined(PHP_MSSQL_H) || !defined(PHP_MSSQL_API)
+#if !(defined(PHP_MSSQL_H) || defined(PHP_MSSQL_API))
typedef BYTE * LPBYTE;
#endif
typedef void * LPVOID;
- [freetds] php 5.3 sqlfront.h, Stuart Henderson, 09/13/2011
Archive powered by MHonArc 2.6.24.