Ticket #1715: serialization_gcc43.patch
File serialization_gcc43.patch, 1.8 KB (added by , 15 years ago) |
---|
-
home/maik/workspace/boost/boost/archive/polymorphic_iarchive.hpp
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) … … 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. 42 #ifndef ULONG_MAX 43 # error "ULONG_MAX is not defined" 44 #endif 41 45 #if defined(BOOST_NO_INT64_T) \ 42 46 || (ULONG_MAX != 0xffffffff && ULONG_MAX == 18446744073709551615u) // 2**64 - 1 43 47 # define BOOST_NO_INTRINSIC_INT64_T -
home/maik/workspace/boost/boost/archive/polymorphic_oarchive.hpp
18 18 19 19 #include <cstddef> // size_t 20 20 #include <string> 21 #include <climits> // ULONG_MAX 21 22 22 23 #include <boost/config.hpp> 23 24 #if defined(BOOST_NO_STDC_NAMESPACE) … … 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. 41 #ifndef ULONG_MAX 42 # error "ULONG_MAX is not defined" 43 #endif 40 44 #if defined(BOOST_NO_INT64_T) \ 41 45 || (ULONG_MAX != 0xffffffff && ULONG_MAX == 18446744073709551615u) // 2**64 - 1 42 46 # define BOOST_NO_INTRINSIC_INT64_T