<div dir="ltr">A couple of pre-processor definitions I'm wondering about:<div><br></div><div>__NetBSD__: What is this used for, and how is it different than __FreeBSD__?<br></div><div>__FreeBSD_kernel__: Same as previous question, why is this different than just __FreeBSD__?</div><div>__GLIBC__: Isn't this the same as __linux__ || __APPLE__?<br></div><div><br></div><div><br></div><div>I understand that in the general case (i.e. ignoring LLDB) there are some differences.  But just in terms of what platforms LLDB runs on and compiles on, is there any way we can simplify our conditionals here?  Does anyone build LLDB with __NetBSD__?   Most of our conditionals only check for __FreeBSD__, so wouldn't all these paths be broken with __NetBSD__?  Should we just have a __BSD__ define that captures all of these?</div><div><br></div><div>Does LLDB care about supporting both __FreeBSD__ and __FreeBSD_kernel__?</div><div><br></div><div>Who uses __GLIBC__ that is neither linux nor apple?</div></div>