ports/databases/php74-mysqli/files/patch-mysqli__api.c
Dima Panov ce74d17066 databases/php7[234]-mysqli: unbreak build with system mysql when MYSQLND is disabled
This is follow-up to r522540 which introduced ability to build with MYSQLND=off

PR:		243643
Submitted by:	fluffy
Approved by:	maintainer (tz)
2020-01-30 09:44:31 +00:00

13 lines
339 B
C

--- mysqli_api.c.orig 2019-12-17 10:29:23 UTC
+++ mysqli_api.c
@@ -31,8 +31,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
#if !defined(MYSQLI_USE_MYSQLND)
/* {{{ mysqli_tx_cor_options_to_string */