$OpenBSD: patch-include_sqlfront_h,v 1.1 2011/09/08 17:13:51 sthen Exp $ php 5.3 doesn't define PHP_MSSQL_API --- 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;