2 //===---------------------------- stdint.h --------------------------------===//
4 // The LLVM Compiler Infrastructure
6 // This file is distributed under the University of Illinois Open Source
7 // License. See LICENSE.TXT for details.
9 //===----------------------------------------------------------------------===//
11 #ifndef _LIBCPP_STDINT_H
12 #define _LIBCPP_STDINT_H
104 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
105 #pragma GCC system_header
108 /* C99 stdlib (e.g. glibc < 2.18) does not provide macros needed
109 for C++11 unless __STDC_LIMIT_MACROS and __STDC_CONSTANT_MACROS
112 #if defined(__cplusplus) && !defined(__STDC_LIMIT_MACROS)
113 # define __STDC_LIMIT_MACROS
115 #if defined(__cplusplus) && !defined(__STDC_CONSTANT_MACROS)
116 # define __STDC_CONSTANT_MACROS
119 #include_next <stdint.h>
121 #endif // _LIBCPP_STDINT_H