1 | //===-- trusty.h -----------------------------------------------*- C++ -*-===// |
2 | // |
3 | // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
4 | // See https://llvm.org/LICENSE.txt for license information. |
5 | // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
6 | // |
7 | //===----------------------------------------------------------------------===// |
8 | |
9 | #ifndef SCUDO_TRUSTY_H_ |
10 | #define SCUDO_TRUSTY_H_ |
11 | |
12 | #include "platform.h" |
13 | |
14 | #if SCUDO_TRUSTY |
15 | |
16 | namespace scudo { |
17 | // MapPlatformData is unused on Trusty, define it as a minimially sized |
18 | // structure. |
19 | struct MapPlatformData {}; |
20 | } // namespace scudo |
21 | |
22 | #endif // SCUDO_TRUSTY |
23 | |
24 | #endif // SCUDO_TRUSTY_H_ |
25 | |