blob: bab13b8aa861f18ccf005a93055a2f679546dfa6 [file] [log] [blame]
Howard Hinnantbc8d3f92010-05-11 19:42:16 +00001// -*- C++ -*-
2//===-------------------------- cerrno ------------------------------------===//
3//
Howard Hinnantf5256e12010-05-11 21:36:01 +00004// The LLVM Compiler Infrastructure
Howard Hinnantbc8d3f92010-05-11 19:42:16 +00005//
Howard Hinnantb64f8b02010-11-16 22:09:02 +00006// This file is dual licensed under the MIT and the University of Illinois Open
7// Source Licenses. See LICENSE.TXT for details.
Howard Hinnantbc8d3f92010-05-11 19:42:16 +00008//
9//===----------------------------------------------------------------------===//
10
11#ifndef _LIBCPP_CERRNO
12#define _LIBCPP_CERRNO
13
14/*
15 cerrno synopsis
16
17Macros:
18
19 EDOM
20 EILSEQ // C99
21 ERANGE
22 errno
23
24*/
25
26#include <__config>
27#include <errno.h>
28
Howard Hinnant08e17472011-10-17 20:05:10 +000029#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
Howard Hinnantbc8d3f92010-05-11 19:42:16 +000030#pragma GCC system_header
Howard Hinnant08e17472011-10-17 20:05:10 +000031#endif
Howard Hinnantbc8d3f92010-05-11 19:42:16 +000032
Howard Hinnantbc8d3f92010-05-11 19:42:16 +000033#endif // _LIBCPP_CERRNO