1 //===-- sanitizer_glibc_version.h -----------------------------------------===// 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 // This file is a part of Sanitizer common code. 10 // 11 //===----------------------------------------------------------------------===// 12 13 #ifndef SANITIZER_GLIBC_VERSION_H 14 #define SANITIZER_GLIBC_VERSION_H 15 16 #include "sanitizer_platform.h" 17 18 #if SANITIZER_LINUX || SANITIZER_FUCHSIA 19 #include <features.h> 20 #endif 21 22 #ifndef __GLIBC_PREREQ 23 #define __GLIBC_PREREQ(x, y) 0 24 #endif 25 26 #endif 27