xref: /freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/linux.h (revision e8d8bef961a50d4dc22501cde4fb9fb0be1b2532)
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