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