diff options
author | Dima Panov <fluffy@FreeBSD.org> | 2020-01-30 09:44:31 +0000 |
---|---|---|
committer | Dima Panov <fluffy@FreeBSD.org> | 2020-01-30 09:44:31 +0000 |
commit | ce74d170665c816073bc1e0fe0e6780ba04a7a24 (patch) | |
tree | cefef68b0a6a691e278cf04c0150051c67bfc3a6 /databases/php73-mysqli/files/patch-php_mysqli_structs.h | |
parent | databases/foundationdb-devel: skip non-amd64 arch (diff) |
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)
Notes
Notes:
svn path=/head/; revision=524638
Diffstat (limited to 'databases/php73-mysqli/files/patch-php_mysqli_structs.h')
-rw-r--r-- | databases/php73-mysqli/files/patch-php_mysqli_structs.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/databases/php73-mysqli/files/patch-php_mysqli_structs.h b/databases/php73-mysqli/files/patch-php_mysqli_structs.h index d0daeee9ee54..afe6c98193f5 100644 --- a/databases/php73-mysqli/files/patch-php_mysqli_structs.h +++ b/databases/php73-mysqli/files/patch-php_mysqli_structs.h @@ -1,5 +1,14 @@ --- php_mysqli_structs.h.orig 2010-07-26 15:52:54.000000000 +0200 +++ php_mysqli_structs.h 2010-07-26 15:53:14.000000000 +0200 +@@ -36,7 +36,7 @@ + #define FALSE 0 + #endif + +-#ifdef MYSQLI_USE_MYSQLND ++#if defined(MYSQLI_USE_MYSQLND) + #include "ext/mysqlnd/mysqlnd.h" + #include "mysqli_mysqlnd.h" + #else @@ -54,6 +54,7 @@ #define WE_HAD_MBSTATE_T #endif |