openbsd-ports/databases/freetds/patches/patch-include_sqlfront_h
sthen c88475b046 update to freetds 0.91; add an openssl flavour (see README for details),
remove msdblib flavour (with @pkgpath to handle updates): this is not
really worth a separate flavour; just define MSDBLIB when building your
applications if you require this behaviour.
2011-09-08 17:13:51 +00:00

16 lines
499 B
Plaintext

$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;