Make lldb -Werror clean on Windows.

Differential Revision: https://reviews.llvm.org/D25247

llvm-svn: 283344
This commit is contained in:
Zachary Turner
2016-10-05 17:07:34 +00:00
parent d6ef28462b
commit 5a8ad4591b
39 changed files with 274 additions and 233 deletions

View File

@@ -20,8 +20,9 @@
#include "llvm/Support/Compiler.h"
#if defined(LLVM_ON_WIN32)
// If anyone #includes Host/PosixApi.h later, it will try to typedef pid_t. We
// need to ensure
// this doesn't happen.
// need to ensure this doesn't happen. At the same time, Python.h will also try
// to redefine a bunch of stuff that PosixApi.h defines. So define it all now
// so that PosixApi.h doesn't redefine it.
#define NO_PID_T
#endif
#if defined(__linux__)