From fac4be30482c21ac330e09ef8756c49e37faa6fa Mon Sep 17 00:00:00 2001 From: MarcoFalke Date: Thu, 4 Feb 2021 13:14:17 +0100 Subject: [PATCH] fuzz: Configure check for main function (take 2) --- configure.ac | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index dca4c5edd8..c16eae8ba1 100644 --- a/configure.ac +++ b/configure.ac @@ -1254,8 +1254,10 @@ if test "x$enable_fuzz" = "xyes"; then #include #include 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