source: NonGTP/Boost/boost/iostreams/detail/config/gcc.hpp @ 857

Revision 857, 829 bytes checked in by igarcia, 18 years ago (diff)
Line 
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
Note: See TracBrowser for help on using the repository browser.