Imported Upstream version 1.57.0
[platform/upstream/boost.git] / boost / predef / library / std / sgi.h
1 /*
2 Copyright Rene Rivera 2008-2013
3 Distributed under the Boost Software License, Version 1.0.
4 (See accompanying file LICENSE_1_0.txt or copy at
5 http://www.boost.org/LICENSE_1_0.txt)
6 */
7
8 #ifndef BOOST_PREDEF_LIBRARY_STD_SGI_H
9 #define BOOST_PREDEF_LIBRARY_STD_SGI_H
10
11 #include <boost/predef/library/std/_prefix.h>
12
13 #include <boost/predef/version_number.h>
14 #include <boost/predef/make.h>
15
16 /*`
17 [heading `BOOST_LIB_STD_SGI`]
18
19 [@http://www.sgi.com/tech/stl/ SGI] Standard C++ library.
20 If available version number as major, minor, and patch.
21
22 [table
23     [[__predef_symbol__] [__predef_version__]]
24
25     [[`__STL_CONFIG_H`] [__predef_detection__]]
26
27     [[`__SGI_STL`] [V.R.P]]
28     ]
29  */
30
31 #define BOOST_LIB_STD_SGI BOOST_VERSION_NUMBER_NOT_AVAILABLE
32
33 #if defined(__STL_CONFIG_H)
34 #   undef BOOST_LIB_STD_SGI
35 #   if defined(__SGI_STL)
36 #       define BOOST_LIB_STD_SGI BOOST_PREDEF_MAKE_0X_VRP(__SGI_STL)
37 #   else
38 #       define BOOST_LIB_STD_SGI BOOST_VERSION_NUMBER_AVAILABLE
39 #   endif
40 #endif
41
42 #if BOOST_LIB_STD_SGI
43 #   define BOOST_LIB_STD_SGI_AVAILABLE
44 #endif
45
46 #define BOOST_LIB_STD_SGI_NAME "SGI"
47
48 #include <boost/predef/detail/test.h>
49 BOOST_PREDEF_DECLARE_TEST(BOOST_LIB_STD_SGI,BOOST_LIB_STD_SGI_NAME)
50
51
52 #endif