Ugly, not-to-be-pushed sucking in of all of Boost to get windows to work.
[dyninst.git] / external / boost / iostreams / detail / config / gcc.hpp
1 // (C) Copyright Jonathan Turkanis 2003.
2 // Distributed under the Boost Software License, Version 1.0. (See accompanying
3 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt.)
4
5 // See http://www.boost.org/libs/iostreams for documentation.
6
7 // Adapted from <boost/config/auto_link.hpp> and from
8 // http://www.boost.org/more/separate_compilation.html, by John Maddock.
9
10 #ifndef BOOST_IOSTREAMS_DETAIL_CONFIG_GCC_HPP_INCLUDED
11 #define BOOST_IOSTREAMS_DETAIL_CONFIG_GCC_HPP_INCLUDED
12
13 #if defined(_MSC_VER) && (_MSC_VER >= 1020)
14 # pragma once
15 #endif              
16
17 #include <boost/config.hpp> // BOOST_INTEL.
18
19 #if defined(__GNUC__) && !defined(BOOST_INTEL)
20 # define BOOST_IOSTREAMS_GCC (__GNUC__ * 100 + __GNUC_MINOR__)
21 #endif
22
23 #endif // #ifndef BOOST_IOSTREAMS_DETAIL_CONFIG_GCC_HPP_INCLUDED