Fix lldb-vscode build on Windows
authorReid Kleckner <rnk@google.com>
Thu, 16 Aug 2018 18:24:59 +0000 (18:24 +0000)
committerReid Kleckner <rnk@google.com>
Thu, 16 Aug 2018 18:24:59 +0000 (18:24 +0000)
commit8b5e6991d28c7a672b7d88bb15a755566dd66199
tree333a0352d3f8183e3f803b995dc69698b46a2fec
parentdb33cf2533d636a6c7920adcccc0e5665fc3077f
Fix lldb-vscode build on Windows

Include PosixAPI.h to get a PATH_MAX definition and replace CreateEvent
with CreateEventObject to avoid conflicts with the windows.h definition
of CreateEvent to CreateEventW.

llvm-svn: 339920
lldb/tools/lldb-vscode/JSONUtils.cpp
lldb/tools/lldb-vscode/JSONUtils.h
lldb/tools/lldb-vscode/VSCode.cpp
lldb/tools/lldb-vscode/lldb-vscode.cpp