================ @@ -1,3 +1,7 @@ +#if defined(__linux__) +#define _DEFAULT_SOURCE /* for kill(), usleep() and GNU's signal() */ +#endif ---------------- tambry wrote:
Done. Went with this approach initially as most people seem to prefer scoping these to per-file to avoid accidentally using POSIX extensions without knowing. That's what I did [for compiler-rt](https://github.com/llvm/llvm-project/commit/88d303e6d42a17a5b1789f6f4b3a1b4ee98b5bf7), for example. https://github.com/llvm/llvm-project/pull/166768 _______________________________________________ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
