mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-03-10 09:06:15 +01:00
fuzz: don't try and use fopencookie when building for Android
When building for Android, _GNU_SOURCE will be defined, but it doesn't actually have the fopencookie() function, or define the cookie_io_functions_t type. For now just skip trying to use it if we are building for Android. Should fix #22062.
This commit is contained in:
parent
3ad1b8899b
commit
1be6267ce1
1 changed files with 1 additions and 1 deletions
|
@ -384,7 +384,7 @@ public:
|
|||
[&] {
|
||||
mode = "a+";
|
||||
});
|
||||
#ifdef _GNU_SOURCE
|
||||
#if defined _GNU_SOURCE && !defined __ANDROID__
|
||||
const cookie_io_functions_t io_hooks = {
|
||||
FuzzedFileProvider::read,
|
||||
FuzzedFileProvider::write,
|
||||
|
|
Loading…
Add table
Reference in a new issue