| //===--------------------------- limits.h ---------------------------------===// |
| // The LLVM Compiler Infrastructure |
| // This file is dual licensed under the MIT and the University of Illinois Open |
| // Source Licenses. See LICENSE.TXT for details. |
| //===----------------------------------------------------------------------===// |
| #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) |
| #pragma GCC system_header |
| // GCC header limits.h recursively includes itself through another header called |
| // syslimits.h for some reason. This setup breaks down if we directly |
| // #include_next GCC's limits.h (reasons not entirely clear to me). Therefore, |
| // we manually re-create the necessary include sequence below: |
| // Get the system limits.h defines (force recurse into the next level) |
| #define _GCC_NEXT_LIMITS_H |
| #endif // _LIBCPP_LIMITS_H |