1 | //===-- linux.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_LINUX_H_ |
10 | #define SCUDO_LINUX_H_ |
11 | |
12 | #include "platform.h" |
13 | |
14 | #if SCUDO_LINUX |
15 | |
16 | namespace scudo { |
17 | |
18 | // MapPlatformData is unused on Linux, define it as a minimally sized structure. |
19 | struct MapPlatformData {}; |
20 | |
21 | } // namespace scudo |
22 | |
23 | #endif // SCUDO_LINUX |
24 | |
25 | #endif // SCUDO_LINUX_H_ |
26 | |