[Lldb-commits] [lldb] [NFCI][lldb][test] Enable GNU POSIX extensions where necessary (PR #166768)
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Thu Nov 6 10:04:03 PST 2025
================
@@ -1,3 +1,7 @@
+#if defined(__linux__)
+#define _DEFAULT_SOURCE /* for kill(), usleep() and GNU's signal() */
+#endif
----------------
JDevlieghere wrote:
I think we should pass this in Makefile.rules instead. Having to put this into every relevant file seems fragile...
https://github.com/llvm/llvm-project/pull/166768
More information about the lldb-commits
mailing list