mirror of
https://github.com/boostorg/integer.git
synced 2025-07-30 04:37:13 +02:00
Changed BOOST_SYSTEM_HAS_STDINT_H to BOOST_HAS_STDINT_H
[SVN r10888]
This commit is contained in:
@ -24,7 +24,7 @@
|
|||||||
#include <boost/config.hpp>
|
#include <boost/config.hpp>
|
||||||
|
|
||||||
|
|
||||||
#ifdef BOOST_SYSTEM_HAS_STDINT_H
|
#ifdef BOOST_HAS_STDINT_H
|
||||||
|
|
||||||
// The following #include is an implementation artifact; not part of interface.
|
// The following #include is an implementation artifact; not part of interface.
|
||||||
# ifdef __hpux
|
# ifdef __hpux
|
||||||
@ -79,7 +79,7 @@ namespace boost
|
|||||||
} // namespace boost
|
} // namespace boost
|
||||||
|
|
||||||
|
|
||||||
#else // BOOST_SYSTEM_HAS_STDINT_H
|
#else // BOOST_HAS_STDINT_H
|
||||||
|
|
||||||
|
|
||||||
# include <limits.h> // implementation artifact; not part of interface
|
# include <limits.h> // implementation artifact; not part of interface
|
||||||
@ -195,7 +195,7 @@ namespace boost
|
|||||||
} // namespace boost
|
} // namespace boost
|
||||||
|
|
||||||
|
|
||||||
#endif // BOOST_SYSTEM_HAS_STDINT_H
|
#endif // BOOST_HAS_STDINT_H
|
||||||
|
|
||||||
#endif // BOOST_CSTDINT_HPP
|
#endif // BOOST_CSTDINT_HPP
|
||||||
|
|
||||||
|
@ -14,11 +14,11 @@
|
|||||||
|
|
||||||
// NOTE OF OBSOLESCENCE: In general, this header file cannot detect
|
// NOTE OF OBSOLESCENCE: In general, this header file cannot detect
|
||||||
// whether the current translation unit somewhere includes ISO C99
|
// whether the current translation unit somewhere includes ISO C99
|
||||||
// <stdint.h> or not. For example, in case BOOST_SYSTEM_HAS_STDINT_H
|
// <stdint.h> or not. For example, in case BOOST_HAS_STDINT_H
|
||||||
// is not defined and ISO C99 <stdint.h> has been included before,
|
// is not defined and ISO C99 <stdint.h> has been included before,
|
||||||
// this file will re-define ISO C99 reserved file-scope identifiers
|
// this file will re-define ISO C99 reserved file-scope identifiers
|
||||||
// such as int8_t (see ISO C99 7.1.3 and 7.18). Defining the macro
|
// such as int8_t (see ISO C99 7.1.3 and 7.18). Defining the macro
|
||||||
// BOOST_SYSTEM_HAS_STDINT_H is not sufficient in general, in
|
// BOOST_HAS_STDINT_H is not sufficient in general, in
|
||||||
// particular if a partly conformant <stdint.h> header is available
|
// particular if a partly conformant <stdint.h> header is available
|
||||||
// on the platform, e.g. Comeau C++ with GNU glibc 2.1.2.
|
// on the platform, e.g. Comeau C++ with GNU glibc 2.1.2.
|
||||||
//
|
//
|
||||||
@ -40,7 +40,7 @@
|
|||||||
|
|
||||||
#include <boost/config.hpp>
|
#include <boost/config.hpp>
|
||||||
|
|
||||||
#ifdef BOOST_SYSTEM_HAS_STDINT_H
|
#ifdef BOOST_HAS_STDINT_H
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
#else
|
#else
|
||||||
@ -150,7 +150,7 @@
|
|||||||
typedef uint32_t uintmax_t;
|
typedef uint32_t uintmax_t;
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
#endif // BOOST_SYSTEM_HAS_STDINT_H not defined
|
#endif // BOOST_HAS_STDINT_H not defined
|
||||||
#endif // BOOST_STDINT_H
|
#endif // BOOST_STDINT_H
|
||||||
|
|
||||||
/****************************************************
|
/****************************************************
|
||||||
|
Reference in New Issue
Block a user