mirror of
https://github.com/bitcoin/bitcoin.git
synced 2024-11-19 18:09:47 +01:00
fuzz: Configure check for main function (take 2)
This commit is contained in:
parent
ea5a50f92a
commit
fac4be3048
@ -1254,8 +1254,10 @@ if test "x$enable_fuzz" = "xyes"; then
|
||||
#include <cstdint>
|
||||
#include <cstddef>
|
||||
extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { return 0; }
|
||||
/* unterminated comment to remove the main function ...
|
||||
]],[[]])])
|
||||
/* comment to remove the main function ...
|
||||
]],[[
|
||||
*/ int not_main() {
|
||||
]])])
|
||||
else
|
||||
BITCOIN_QT_INIT
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user