[LLD][COFF] Emit tail merge pdata for delay load thunks on ARM64EC (#116810)
[llvm-project.git] / libc / hdr / errno_macros.h
blob27ea49977d8c8e157dca2c7c864392730fbda39e
1 //===-- Definition of macros from errno.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 //===----------------------------------------------------------------------===//
9 #ifndef LLVM_LIBC_HDR_ERRNO_MACROS_H
10 #define LLVM_LIBC_HDR_ERRNO_MACROS_H
12 #ifdef LIBC_FULL_BUILD
14 #ifdef __linux__
15 #include <linux/errno.h>
17 #include "include/llvm-libc-macros/error-number-macros.h"
18 #else // __linux__
19 #include "include/llvm-libc-macros/generic-error-number-macros.h"
20 #endif
22 #else // Overlay mode
24 #include <errno.h>
26 #endif // LLVM_LIBC_FULL_BUILD
28 #endif // LLVM_LIBC_HDR_ERRNO_MACROS_H