brintos

brintos / llvm-project-archived public Read only

0
0
Text · 964 B · 58fa7b2 Raw
24 lines · c
1//===-- MPFRUtils.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-exception6//7//===----------------------------------------------------------------------===//8 9#ifndef LLVM_LIBC_UTILS_MPFRWRAPPER_MPFR_INC_H10#define LLVM_LIBC_UTILS_MPFRWRAPPER_MPFR_INC_H11 12#ifdef CUSTOM_MPFR_INCLUDER13// Some downstream repos are monoliths carrying MPFR sources in their third14// party directory. In such repos, including the MPFR header as15// `#include <mpfr.h>` is either disallowed or not possible. If that is the16// case, a file named `CustomMPFRIncluder.h` should be added through which the17// MPFR header can be included in manner allowed in that repo.18#include "CustomMPFRIncluder.h"19#else20#include <mpfr.h>21#endif22 23#endif // LLVM_LIBC_UTILS_MPFRWRAPPER_MPFR_INC_H24