blob: a9268a281f4e2bc5540c73f0d0ad829af46ee9eb [file] [log] [blame]
Howard Hinnantbc8d3f92010-05-11 19:42:16 +00001// -*- C++ -*-
2//===-------------------------- cerrno ------------------------------------===//
3//
Chandler Carruth7c3769d2019-01-19 10:56:40 +00004// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5// See https://llvm.org/LICENSE.txt for license information.
6// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
Howard Hinnantbc8d3f92010-05-11 19:42:16 +00007//
8//===----------------------------------------------------------------------===//
9
10#ifndef _LIBCPP_CERRNO
11#define _LIBCPP_CERRNO
12
13/*
14 cerrno synopsis
15
16Macros:
17
18 EDOM
19 EILSEQ // C99
20 ERANGE
21 errno
22
23*/
24
25#include <__config>
26#include <errno.h>
27
Howard Hinnant08e17472011-10-17 20:05:10 +000028#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
Howard Hinnantbc8d3f92010-05-11 19:42:16 +000029#pragma GCC system_header
Howard Hinnant08e17472011-10-17 20:05:10 +000030#endif
Howard Hinnantbc8d3f92010-05-11 19:42:16 +000031
Howard Hinnantbc8d3f92010-05-11 19:42:16 +000032#endif // _LIBCPP_CERRNO