24 lines · c
1//===-- MPCUtils.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_MPCWRAPPER_MPC_INC_H10#define LLVM_LIBC_UTILS_MPCWRAPPER_MPC_INC_H11 12#ifdef CUSTOM_MPC_INCLUDER13// Some downstream repos are monoliths carrying MPC sources in their third14// party directory. In such repos, including the MPC header as15// `#include <mpc.h>` is either disallowed or not possible. If that is the16// case, a file named `CustomMPCIncluder.h` should be added through which the17// MPC header can be included in manner allowed in that repo.18#include "CustomMPCIncluder.h"19#else20#include <mpc.h>21#endif22 23#endif // LLVM_LIBC_UTILS_MPCWRAPPER_MPC_INC_H24