sanitizer_glibc_version.h 748 B

1234567891011121314151617181920212223242526
  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. #ifndef SANITIZER_GLIBC_VERSION_H
  13. #define SANITIZER_GLIBC_VERSION_H
  14. #include "sanitizer_platform.h"
  15. #if SANITIZER_LINUX || SANITIZER_FUCHSIA
  16. #include <features.h>
  17. #endif
  18. #ifndef __GLIBC_PREREQ
  19. #define __GLIBC_PREREQ(x, y) 0
  20. #endif
  21. #endif