Ticket #3352: boost_zlib.diff
File boost_zlib.diff, 961 bytes (added by , 13 years ago) |
---|
-
boost/iostreams/filter/zlib.hpp
20 20 #include <memory> // allocator, bad_alloc. 21 21 #include <new> 22 22 #include <boost/config.hpp> // MSVC, STATIC_CONSTANT, DEDUCED_TYPENAME, DINKUM. 23 #include <boost/cstdint.hpp> // uint*_t 23 24 #include <boost/detail/workaround.hpp> 24 25 #include <boost/iostreams/constants.hpp> // buffer size. 25 26 #include <boost/iostreams/detail/config/auto_link.hpp> … … 43 44 namespace zlib { 44 45 // Typedefs 45 46 46 typedef u nsigned int uint;47 typedef u nsigned charbyte;48 typedef u nsigned longulong;47 typedef uint32_t uint; 48 typedef uint8_t byte; 49 typedef uint32_t ulong; 49 50 50 51 // Prefix 'x' prevents symbols from being redefined when Z_PREFIX is defined 51 52 typedef void* (*xalloc_func)(void*, zlib::uint, zlib::uint);