diff options
author | practicalswift <practicalswift@users.noreply.github.com> | 2019-10-24 08:07:59 +0000 |
---|---|---|
committer | practicalswift <practicalswift@users.noreply.github.com> | 2019-10-24 08:07:59 +0000 |
commit | c2f964a6745be085f2891c909d6c998687de9080 (patch) | |
tree | f6697c4094194fd4f409a5999c71ba77fc2ddb66 /src/test | |
parent | db4bd32cc31789fc017f5db0b86a69ee43e41575 (diff) | |
download | bitcoin-c2f964a6745be085f2891c909d6c998687de9080.tar.xz |
tests: Remove Cygwin WinMain workaround
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/fuzz/fuzz.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/test/fuzz/fuzz.cpp b/src/test/fuzz/fuzz.cpp index 44256ce867..da4e623e98 100644 --- a/src/test/fuzz/fuzz.cpp +++ b/src/test/fuzz/fuzz.cpp @@ -40,14 +40,9 @@ extern "C" int LLVMFuzzerInitialize(int* argc, char*** argv) return 0; } -// Disabled under WIN32 due to clash with Cygwin's WinMain. -#ifndef WIN32 // Declare main(...) "weak" to allow for libFuzzer linking. libFuzzer provides // the main(...) function. -__attribute__((weak)) -#endif -int -main(int argc, char** argv) +__attribute__((weak)) int main(int argc, char** argv) { initialize(); #ifdef __AFL_INIT |