Howard Hinnant | bc8d3f9 | 2010-05-11 19:42:16 +0000 | [diff] [blame] | 1 | // -*- C++ -*- |
| 2 | //===--------------------------- climits ----------------------------------===// |
| 3 | // |
Howard Hinnant | f5256e1 | 2010-05-11 21:36:01 +0000 | [diff] [blame] | 4 | // The LLVM Compiler Infrastructure |
Howard Hinnant | bc8d3f9 | 2010-05-11 19:42:16 +0000 | [diff] [blame] | 5 | // |
Howard Hinnant | b64f8b0 | 2010-11-16 22:09:02 +0000 | [diff] [blame] | 6 | // This file is dual licensed under the MIT and the University of Illinois Open |
| 7 | // Source Licenses. See LICENSE.TXT for details. |
Howard Hinnant | bc8d3f9 | 2010-05-11 19:42:16 +0000 | [diff] [blame] | 8 | // |
| 9 | //===----------------------------------------------------------------------===// |
| 10 | |
| 11 | #ifndef _LIBCPP_CLIMITS |
| 12 | #define _LIBCPP_CLIMITS |
| 13 | |
| 14 | /* |
| 15 | climits synopsis |
| 16 | |
| 17 | Macros: |
| 18 | |
| 19 | CHAR_BIT |
| 20 | SCHAR_MIN |
| 21 | SCHAR_MAX |
| 22 | UCHAR_MAX |
| 23 | CHAR_MIN |
| 24 | CHAR_MAX |
| 25 | MB_LEN_MAX |
| 26 | SHRT_MIN |
| 27 | SHRT_MAX |
| 28 | USHRT_MAX |
| 29 | INT_MIN |
| 30 | INT_MAX |
| 31 | UINT_MAX |
| 32 | LONG_MIN |
| 33 | LONG_MAX |
| 34 | ULONG_MAX |
| 35 | LLONG_MIN // C99 |
| 36 | LLONG_MAX // C99 |
| 37 | ULLONG_MAX // C99 |
| 38 | |
| 39 | */ |
| 40 | |
| 41 | #include <__config> |
| 42 | #include <limits.h> |
| 43 | |
Howard Hinnant | 08e1747 | 2011-10-17 20:05:10 +0000 | [diff] [blame] | 44 | #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) |
Howard Hinnant | bc8d3f9 | 2010-05-11 19:42:16 +0000 | [diff] [blame] | 45 | #pragma GCC system_header |
Howard Hinnant | 08e1747 | 2011-10-17 20:05:10 +0000 | [diff] [blame] | 46 | #endif |
Howard Hinnant | bc8d3f9 | 2010-05-11 19:42:16 +0000 | [diff] [blame] | 47 | |
| 48 | #endif // _LIBCPP_CLIMITS |