linux.h 655 B

12345678910111213141516171819202122232425
  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. #ifndef SCUDO_LINUX_H_
  9. #define SCUDO_LINUX_H_
  10. #include "platform.h"
  11. #if SCUDO_LINUX
  12. namespace scudo {
  13. // MapPlatformData is unused on Linux, define it as a minimally sized structure.
  14. struct MapPlatformData {};
  15. } // namespace scudo
  16. #endif // SCUDO_LINUX
  17. #endif // SCUDO_LINUX_H_