ports/lang/php80/files/patch-ext_mysqli_mysqli__api.c
Torsten Zuehlsdorff 1061308ba7 Welcome PHP 8.0 RC 2 to the ports tree
There are many greater changes including:
- json is now part of core
- xmlrpc is removed
- More than 150 backward incompatible changes

Have a look at: https://github.com/php/php-src/blob/php-8.0.0RC2/UPGRADING

Reviewed by:	ale, mfechner, Pascal Christen
Sponsored by:	PHP Update Service
Differential Revision:	https://reviews.freebsd.org/D26848
2020-10-21 22:58:51 +00:00

12 lines
354 B
C

--- ext/mysqli/mysqli_api.c.orig 2020-09-29 22:36:51 UTC
+++ ext/mysqli/mysqli_api.c
@@ -29,7 +29,9 @@
#include "zend_smart_str.h"
#include "php_mysqli_structs.h"
#include "mysqli_priv.h"
+#if defined(MYSQLI_USE_MYSQLND)
#include "ext/mysqlnd/mysql_float_to_double.h"
+#endif
#define ERROR_ARG_POS(arg_num) (getThis() ? (arg_num-1) : (arg_num))