[vm] Fix building with older sysroots.
Cf. dfce3aa0ff
TEST=https://ci.chromium.org/p/fuchsia/g/dart/console
Change-Id: I8c385931548bace9d0753f7dcbae829eff0079bd
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/309520
Commit-Queue: Ryan Macnak <rmacnak@google.com>
Reviewed-by: Tess Strickland <sstrickl@google.com>
This commit is contained in:
committed by
Commit Queue
parent
e8ce98ac78
commit
ff378c0e79
@@ -44,6 +44,11 @@ namespace dart {
|
||||
#define ElfW(Type) Elf32_##Type
|
||||
#endif
|
||||
|
||||
// Missing from older versions of <elf.h>.
|
||||
#if !defined(EM_RISCV)
|
||||
#define EM_RISCV 243
|
||||
#endif
|
||||
|
||||
#ifndef PRODUCT
|
||||
|
||||
DEFINE_FLAG(bool,
|
||||
|
||||
Reference in New Issue
Block a user