Andrew Scull | 5e1ddfa | 2018-08-14 10:06:54 +0100 | [diff] [blame] | 1 | // -*- C++ -*- |
| 2 | //===-------------------------- cerrno ------------------------------------===// |
| 3 | // |
Andrew Walbran | 16937d0 | 2019-10-22 13:54:20 +0100 | [diff] [blame^] | 4 | // 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 |
Andrew Scull | 5e1ddfa | 2018-08-14 10:06:54 +0100 | [diff] [blame] | 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | |
| 10 | #ifndef _LIBCPP_CERRNO |
| 11 | #define _LIBCPP_CERRNO |
| 12 | |
| 13 | /* |
| 14 | cerrno synopsis |
| 15 | |
| 16 | Macros: |
| 17 | |
| 18 | EDOM |
| 19 | EILSEQ // C99 |
| 20 | ERANGE |
| 21 | errno |
| 22 | |
| 23 | */ |
| 24 | |
| 25 | #include <__config> |
| 26 | #include <errno.h> |
| 27 | |
| 28 | #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) |
| 29 | #pragma GCC system_header |
| 30 | #endif |
| 31 | |
| 32 | #endif // _LIBCPP_CERRNO |