Path: blob/main/contrib/llvm-project/libc/hdr/math_function_macros.h
213726 views
//===-- Definition of macros from math.h ----------------------------------===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//78#ifndef LLVM_LIBC_HDR_MATH_FUNCTION_MACROS_H9#define LLVM_LIBC_HDR_MATH_FUNCTION_MACROS_H1011#ifdef LIBC_FULL_BUILD1213#include "include/llvm-libc-macros/math-function-macros.h"1415#else // Overlay mode1617// GCC will include CXX headers when __cplusplus is defined. This behavior18// can be suppressed by defining _GLIBCXX_INCLUDE_NEXT_C_HEADERS.19#if defined(__GNUC__) && !defined(__clang__)20#define _GLIBCXX_INCLUDE_NEXT_C_HEADERS21#endif22#include <math.h>2324#endif // LLVM_LIBC_FULL_BUILD2526#endif // LLVM_LIBC_HDR_MATH_MACROS_H272829