Path: blob/main/system/lib/llvm-libc/hdr/errno_macros.h
6182 views
//===-- Definition of macros from errno.h ---------------------------------===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//78#ifndef LLVM_LIBC_HDR_ERRNO_MACROS_H9#define LLVM_LIBC_HDR_ERRNO_MACROS_H1011#ifdef LIBC_FULL_BUILD1213#ifdef __linux__14#include <linux/errno.h>1516#include "include/llvm-libc-macros/error-number-macros.h"17#else // __linux__18#include "include/llvm-libc-macros/generic-error-number-macros.h"19#endif2021#else // Overlay mode2223#include <errno.h>2425#endif // LLVM_LIBC_FULL_BUILD2627#endif // LLVM_LIBC_HDR_ERRNO_MACROS_H282930