]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/boost/gil/extension/io/jpeg/detail/base.hpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / boost / gil / extension / io / jpeg / detail / base.hpp
1 //
2 // Copyright 2010 Christian Henning
3 //
4 // Distributed under the Boost Software License, Version 1.0
5 // See accompanying file LICENSE_1_0.txt or copy at
6 // http://www.boost.org/LICENSE_1_0.txt
7 //
8 #ifndef BOOST_GIL_EXTENSION_IO_JPEG_DETAIL_BASE_HPP
9 #define BOOST_GIL_EXTENSION_IO_JPEG_DETAIL_BASE_HPP
10
11 #include <boost/gil/extension/io/jpeg/tags.hpp>
12
13 #include <csetjmp>
14
15 namespace boost { namespace gil {
16
17 #if BOOST_WORKAROUND(BOOST_MSVC, >= 1400)
18 #pragma warning(push)
19 #pragma warning(disable:4324) //structure was padded due to __declspec(align())
20 #endif
21
22 class jpeg_io_base
23 {
24
25 protected:
26
27 jpeg_error_mgr _jerr;
28 jmp_buf _mark;
29 };
30
31 #if BOOST_WORKAROUND(BOOST_MSVC, >= 1400)
32 #pragma warning(pop)
33 #endif
34
35 } // namespace gil
36 } // namespace boost
37
38 #endif