ZequanWu wrote: Oh, I see, there are windows version of `flock` in `WindowsMMap.h`, and this new macro `COMPILER_RT_HAS_FLOCK` is defined here: [for linux](https://github.com/llvm/llvm-project/blob/main/compiler-rt/lib/profile/CMakeLists.txt#L41-L50)
https://github.com/llvm/llvm-project/pull/111332 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits