#include <folly/ThreadLocal.h>
+#ifndef _WIN32
#include <dlfcn.h>
-#include <sys/types.h>
#include <sys/wait.h>
+#endif
+
+#include <sys/types.h>
#include <array>
#include <atomic>
}
#endif
+#ifndef _WIN32
struct HoldsOneTag2 {};
TEST(ThreadLocal, Fork2) {
EXPECT_TRUE(false) << "fork failed";
}
}
+#endif
// Elide this test when using any sanitizer. Otherwise, the dlopen'ed code
// would end up running without e.g., ASAN-initialized data structures and