mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-03-06 14:19:59 -05:00
tests: Remove Cygwin WinMain workaround
This commit is contained in:
parent
db4bd32cc3
commit
c2f964a674
1 changed files with 1 additions and 6 deletions
|
@ -40,14 +40,9 @@ extern "C" int LLVMFuzzerInitialize(int* argc, char*** argv)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Disabled under WIN32 due to clash with Cygwin's WinMain.
|
|
||||||
#ifndef WIN32
|
|
||||||
// Declare main(...) "weak" to allow for libFuzzer linking. libFuzzer provides
|
// Declare main(...) "weak" to allow for libFuzzer linking. libFuzzer provides
|
||||||
// the main(...) function.
|
// the main(...) function.
|
||||||
__attribute__((weak))
|
__attribute__((weak)) int main(int argc, char** argv)
|
||||||
#endif
|
|
||||||
int
|
|
||||||
main(int argc, char** argv)
|
|
||||||
{
|
{
|
||||||
initialize();
|
initialize();
|
||||||
#ifdef __AFL_INIT
|
#ifdef __AFL_INIT
|
||||||
|
|
Loading…
Add table
Reference in a new issue