]> git.lyx.org Git - features.git/blob - boost/boost/exception/detail/attribute_noreturn.hpp
boost: add eol property
[features.git] / boost / boost / exception / detail / attribute_noreturn.hpp
1 //Copyright (c) 2009 Emil Dotchevski and Reverge Studios, Inc.
2
3 //Distributed under the Boost Software License, Version 1.0. (See accompanying
4 //file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5
6 #ifndef UUID_61531AB0680611DEADD5846855D89593
7 #define UUID_61531AB0680611DEADD5846855D89593
8
9 #include <boost/config.hpp>
10
11 #if defined(BOOST_MSVC)
12 #define BOOST_ATTRIBUTE_NORETURN __declspec(noreturn)
13 #elif defined(__GNUC__)
14 #define BOOST_ATTRIBUTE_NORETURN __attribute__((noreturn))
15 #else
16 #define BOOST_ATTRIBUTE_NORETURN
17 #endif
18
19 #endif