diff --git a/boost/archive/polymorphic_iarchive.hpp b/boost/archive/polymorphic_iarchive.hpp
index 8a61e56..ad8c591 100644
a
|
b
|
|
17 | 17 | // See http://www.boost.org for updates, documentation, and revision history. |
18 | 18 | |
19 | 19 | #include <cstddef> // std::size_t |
| 20 | #include <climits> // ULONG_MAX |
20 | 21 | #include <boost/config.hpp> |
21 | 22 | |
22 | 23 | #if defined(BOOST_NO_STDC_NAMESPACE) |
… |
… |
namespace std{
|
38 | 39 | // i.e. that its not a synonym for (unsigned) long |
39 | 40 | // if there is no 64 bit int or if its the same as a long |
40 | 41 | // we shouldn't define separate functions for int64 data types. |
41 | | #if defined(BOOST_NO_INT64_T) \ |
42 | | || (ULONG_MAX != 0xffffffff && ULONG_MAX == 18446744073709551615u) // 2**64 - 1 |
43 | | # define BOOST_NO_INTRINSIC_INT64_T |
| 42 | #if defined(BOOST_NO_INT64_T) |
| 43 | #define BOOST_NO_INTRINSIC_INT64_T |
| 44 | #else |
| 45 | #if defined(ULONG_MAX) |
| 46 | #if(ULONG_MAX != 0xffffffff && ULONG_MAX == 18446744073709551615u) // 2**64 - 1 |
| 47 | #define BOOST_NO_INTRINSIC_INT64_T |
| 48 | #endif |
| 49 | #else |
| 50 | #define BOOST_NO_INTRINSIC_INT64_T |
| 51 | #endif |
44 | 52 | #endif |
45 | 53 | |
46 | 54 | namespace boost { |
diff --git a/boost/archive/polymorphic_oarchive.hpp b/boost/archive/polymorphic_oarchive.hpp
index 7fbd911..576f957 100644
a
|
b
|
|
17 | 17 | // See http://www.boost.org for updates, documentation, and revision history. |
18 | 18 | |
19 | 19 | #include <cstddef> // size_t |
| 20 | #include <climits> // ULONG_MAX |
20 | 21 | #include <string> |
21 | 22 | |
22 | 23 | #include <boost/config.hpp> |
… |
… |
namespace std{
|
37 | 38 | // i.e. that its not a synonym for (unsigned) long |
38 | 39 | // if there is no 64 bit int or if its the same as a long |
39 | 40 | // we shouldn't define separate functions for int64 data types. |
40 | | #if defined(BOOST_NO_INT64_T) \ |
41 | | || (ULONG_MAX != 0xffffffff && ULONG_MAX == 18446744073709551615u) // 2**64 - 1 |
42 | | # define BOOST_NO_INTRINSIC_INT64_T |
| 41 | #if defined(BOOST_NO_INT64_T) |
| 42 | #define BOOST_NO_INTRINSIC_INT64_T |
| 43 | #else |
| 44 | #if defined(ULONG_MAX) |
| 45 | #if(ULONG_MAX != 0xffffffff && ULONG_MAX == 18446744073709551615u) // 2**64 - 1 |
| 46 | #define BOOST_NO_INTRINSIC_INT64_T |
| 47 | #endif |
| 48 | #else |
| 49 | #define BOOST_NO_INTRINSIC_INT64_T |
| 50 | #endif |
43 | 51 | #endif |
44 | 52 | |
| 53 | |
45 | 54 | namespace boost { |
46 | 55 | template<class T> |
47 | 56 | class shared_ptr; |
diff --git a/boost/serialization/collection_traits.hpp b/boost/serialization/collection_traits.hpp
index 349fe91..f55bc38 100644
a
|
b
|
|
29 | 29 | #include <boost/cstdint.hpp> |
30 | 30 | #include <boost/serialization/level.hpp> |
31 | 31 | |
| 32 | #include <climits> // ULONG_MAX |
| 33 | |
32 | 34 | #define BOOST_SERIALIZATION_COLLECTION_TRAITS_HELPER(T, C) \ |
33 | 35 | template<> \ |
34 | 36 | struct implementation_level< C < T > > { \ |
… |
… |
struct implementation_level< C < T > > { \
|
50 | 52 | // i.e. that its not a synonym for (unsigned) long |
51 | 53 | // if there is no 64 bit int or if its the same as a long |
52 | 54 | // we shouldn't define separate functions for int64 data types. |
53 | | #if defined(BOOST_NO_INT64_T) \ |
54 | | || (ULONG_MAX != 0xffffffff && ULONG_MAX == 18446744073709551615u) // 2**64 - 1 |
55 | | # define BOOST_NO_INTRINSIC_INT64_T |
| 55 | #if defined(BOOST_NO_INT64_T) |
| 56 | #define BOOST_NO_INTRINSIC_INT64_T |
| 57 | #else |
| 58 | #if defined(ULONG_MAX) |
| 59 | #if(ULONG_MAX != 0xffffffff && ULONG_MAX == 18446744073709551615u) // 2**64 - 1 |
| 60 | #define BOOST_NO_INTRINSIC_INT64_T |
| 61 | #endif |
| 62 | #else |
| 63 | #define BOOST_NO_INTRINSIC_INT64_T |
| 64 | #endif |
56 | 65 | #endif |
57 | 66 | |
58 | 67 | #if !defined(BOOST_NO_INTRINSIC_INT64_T) |