Porting of commit
5e4409f30817 ("Fix out-of-tree clang build due to sysexits change")
Fixes the following building errors:
In file included from external/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:12:
external/llvm-project/llvm/include/llvm/Support/ExitCodes.h:30:2: error: Exit code EX_IOERR not available
^
external/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:385:15: error: use of undeclared identifier 'EX_IOERR'
RetCode = EX_IOERR;
^
2 errors generated.
/* Define if this is Unixish platform */
#define LLVM_ON_UNIX 1
+/* Define to 1 if you have the <sysexits.h> header file. */
+#define HAVE_SYSEXITS_H 1
+
/* Define if this is Win32ish platform */
/* #undef LLVM_ON_WIN32 */