OSDN Git Service

android: Fix out-of-tree clang build due to sysexits change
authorMauro Rossi <issor.oruam@gmail.com>
Sat, 30 Jan 2021 10:23:14 +0000 (11:23 +0100)
committerMauro Rossi <issor.oruam@gmail.com>
Thu, 15 Apr 2021 11:05:15 +0000 (13:05 +0200)
commit9c11a40e3004e461f95eeb4f940aca6f616fe96d
tree53713e783b113b5a2456a8f57b113f02ab9f4646
parent640538fc3ec29910d37f8245032a401b2e90c155
android: Fix out-of-tree clang build due to sysexits change

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.
llvm/include/llvm/Config/llvm-platform-config.h