We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 77af0b5 commit 14ccc57Copy full SHA for 14ccc57
src/test/func/protect_fork/protect_fork.cc
@@ -1,7 +1,7 @@
1
#include <iostream>
2
#include <snmalloc/snmalloc.h>
3
4
-#ifndef SNMALLOC_PTHREAD_ATFORK_WORKS
+#if defined(SNMALLOC_PTHREAD_ATFORK_WORKS) || defined(__MINGW32__)
5
int main()
6
{
7
std::cout << "Test did not run" << std::endl;
@@ -78,4 +78,4 @@ int main()
78
return 0;
79
}
80
81
-#endif
+#endif
0 commit comments