brintos

brintos / llvm-project-archived public Read only

0
0
Text · 777 B · 27ea499 Raw
29 lines · c
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-exception6//7//===----------------------------------------------------------------------===//8 9#ifndef LLVM_LIBC_HDR_ERRNO_MACROS_H10#define LLVM_LIBC_HDR_ERRNO_MACROS_H11 12#ifdef LIBC_FULL_BUILD13 14#ifdef __linux__15#include <linux/errno.h>16 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#endif21 22#else // Overlay mode23 24#include <errno.h>25 26#endif // LLVM_LIBC_FULL_BUILD27 28#endif // LLVM_LIBC_HDR_ERRNO_MACROS_H29