1 //===-- sanitizer_mallinfo.h ----------------------------------------------===//
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
7 //===----------------------------------------------------------------------===//
9 // This file is a part of Sanitizer common code.
11 // Definition for mallinfo on different platforms.
12 //===----------------------------------------------------------------------===//
14 #ifndef SANITIZER_MALLINFO_H
15 #define SANITIZER_MALLINFO_H
17 #include "sanitizer_internal_defs.h"
18 #include "sanitizer_platform.h"
20 namespace __sanitizer
{
24 struct __sanitizer_struct_mallinfo
{
28 #elif SANITIZER_LINUX || SANITIZER_APPLE || SANITIZER_FUCHSIA
30 struct __sanitizer_struct_mallinfo
{
36 } // namespace __sanitizer
38 #endif // SANITIZER_MALLINFO_H