php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #60582
Patch php-5.3.8-pdo_dblib-lpbyte.patch revision 2011-12-20 23:32 UTC by jbnance at tresgeek dot net

Patch php-5.3.8-pdo_dblib-lpbyte.patch for PDO related Bug #60582

Patch version 2011-12-20 23:32 UTC

Return to Bug #60582 | Download this patch
Patch Revisions:

Developer: jbnance@tresgeek.net

--- php-5.3.8/ext/mssql/php_mssql.h.lpbyte      2011-12-20 23:23:46.000000000 +0000
+++ php-5.3.8/ext/mssql/php_mssql.h     2011-12-20 23:23:20.000000000 +0000
@@ -65,7 +65,8 @@
 #define dbfreelogin dbloginfree
 #endif
 #define dbrpcexec dbrpcsend
-typedef unsigned char  *LPBYTE;
+/* Comment out LPBYTE declaration for FreeTDS 0.91+ */
+//typedef unsigned char        *LPBYTE;
 typedef float           DBFLT4;
 #else
 #define MSSQL_VERSION "7.0"
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 03 14:01:30 2024 UTC