1*d8e124dfSSchrodinger ZHU Yifan //===-- Definition of macros from link.h ----------------------------------===// 2*d8e124dfSSchrodinger ZHU Yifan // 3*d8e124dfSSchrodinger ZHU Yifan // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4*d8e124dfSSchrodinger ZHU Yifan // See https://llvm.org/LICENSE.txt for license information. 5*d8e124dfSSchrodinger ZHU Yifan // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6*d8e124dfSSchrodinger ZHU Yifan // 7*d8e124dfSSchrodinger ZHU Yifan //===----------------------------------------------------------------------===// 8*d8e124dfSSchrodinger ZHU Yifan 9*d8e124dfSSchrodinger ZHU Yifan #ifndef LLVM_LIBC_HDR_LINK_MACROS_H 10*d8e124dfSSchrodinger ZHU Yifan #define LLVM_LIBC_HDR_LINK_MACROS_H 11*d8e124dfSSchrodinger ZHU Yifan 12*d8e124dfSSchrodinger ZHU Yifan #ifdef LIBC_FULL_BUILD 13*d8e124dfSSchrodinger ZHU Yifan 14*d8e124dfSSchrodinger ZHU Yifan #include "include/llvm-libc-macros/link-macros.h" 15*d8e124dfSSchrodinger ZHU Yifan 16*d8e124dfSSchrodinger ZHU Yifan #else // Overlay mode 17*d8e124dfSSchrodinger ZHU Yifan 18*d8e124dfSSchrodinger ZHU Yifan #include <link.h> 19*d8e124dfSSchrodinger ZHU Yifan 20*d8e124dfSSchrodinger ZHU Yifan #endif // LLVM_LIBC_FULL_BUILD 21*d8e124dfSSchrodinger ZHU Yifan 22*d8e124dfSSchrodinger ZHU Yifan #endif // LLVM_LIBC_HDR_LINK_MACROS_H 23