[Lldb-commits] [PATCH] D47625: [cmake] Detect presence of wide-char libedit at build time
Davide Italiano via lldb-commits
lldb-commits at lists.llvm.org
Thu Feb 28 11:21:33 PST 2019
On Thu, Feb 28, 2019 at 11:19 AM Davide Italiano <dccitaliano at gmail.com> wrote:
> If I add:
> diff --git a/lldb/source/Host/common/MainLoop.cpp
> index a4803936196..4fee76865ee 100644
> --- a/lldb/source/Host/common/MainLoop.cpp
> +++ b/lldb/source/Host/common/MainLoop.cpp
> @@ -23,6 +23,8 @@
> // (ppoll is present but not implemented properly). On windows we use WSApoll
> // (which does not support signals).
> +#define HAVE_SYS_EVENT_H 1
> #if HAVE_SYS_EVENT_H
> #include <sys/event.h>
> #elif defined(_WIN32)
> to my checkout it works. It looks like somehow llvm-config.h isn't
> propagate properly so `HAVE_SYS_EVENT_H` isn't defined?
> This looks like a bug to me, but maybe there's an easy way to work around it.
And in fact, this is what I see in my build directory:
$ grep -R SYS_EVENT './include/llvm/Config/llvm-config.h'
More information about the lldb-commits