~ubuntu-branches/ubuntu/warty/aqsis/warty

« back to all changes in this revision

Viewing changes to boost/boost/preprocessor/config/config.hpp

  • Committer: Bazaar Package Importer
  • Author(s): LaMont Jones
  • Date: 2004-08-24 07:25:04 UTC
  • Revision ID: james.westby@ubuntu.com-20040824072504-zf993vnevvisdsvb
Tags: upstream-0.9.1
ImportĀ upstreamĀ versionĀ 0.9.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# /* **************************************************************************
 
2
#  *                                                                          *
 
3
#  *     (C) Copyright Paul Mensonides 2002.  Permission to copy, use,        *
 
4
#  *     modify, sell, and distribute this software is granted provided       *
 
5
#  *     this copyright notice appears in all copies.  This software is       *
 
6
#  *     provided "as is" without express or implied warranty, and with       *
 
7
#  *     no claim at to its suitability for any purpose.                      *
 
8
#  *                                                                          *
 
9
#  ************************************************************************** */
 
10
#
 
11
# /* See http://www.boost.org for most recent version. */
 
12
#
 
13
# ifndef BOOST_PREPROCESSOR_CONFIG_CONFIG_HPP
 
14
# define BOOST_PREPROCESSOR_CONFIG_CONFIG_HPP
 
15
#
 
16
# /* BOOST_PP_CONFIG_FLAGS */
 
17
#
 
18
# define BOOST_PP_CONFIG_STRICT() 0x0001
 
19
# define BOOST_PP_CONFIG_IDEAL() 0x0002
 
20
#
 
21
# define BOOST_PP_CONFIG_MSVC() 0x0004
 
22
# define BOOST_PP_CONFIG_MWCC() 0x0008
 
23
# define BOOST_PP_CONFIG_BCC() 0x0010
 
24
# define BOOST_PP_CONFIG_EDG() 0x0020
 
25
#
 
26
# ifndef BOOST_PP_CONFIG_FLAGS
 
27
#    if defined(__SPIRIT_PP__)
 
28
#        define BOOST_PP_CONFIG_FLAGS() (BOOST_PP_CONFIG_STRICT())
 
29
#    elif defined(__EDG__) || defined(__EDG_VERSION__)
 
30
#        define BOOST_PP_CONFIG_FLAGS() (BOOST_PP_CONFIG_EDG() | BOOST_PP_CONFIG_STRICT())
 
31
#    elif defined(__MWERKS__)
 
32
#        define BOOST_PP_CONFIG_FLAGS() (BOOST_PP_CONFIG_MWCC())
 
33
#    elif defined(__BORLANDC__) || defined(__IBMC__) || defined(__IBMCPP__) || defined(__SUNPRO_CC)
 
34
#        define BOOST_PP_CONFIG_FLAGS() (BOOST_PP_CONFIG_BCC())
 
35
#    elif defined(_MSC_VER)
 
36
#        define BOOST_PP_CONFIG_FLAGS() (BOOST_PP_CONFIG_MSVC())
 
37
#    else
 
38
#        define BOOST_PP_CONFIG_FLAGS() (BOOST_PP_CONFIG_STRICT())
 
39
#    endif
 
40
# endif
 
41
#
 
42
# /* BOOST_PP_CONFIG_EXTENDED_LINE_INFO */
 
43
#
 
44
# ifndef BOOST_PP_CONFIG_EXTENDED_LINE_INFO
 
45
#    define BOOST_PP_CONFIG_EXTENDED_LINE_INFO 0
 
46
# endif
 
47
#
 
48
# /* BOOST_PP_CONFIG_ERRORS */
 
49
#
 
50
# ifndef BOOST_PP_CONFIG_ERRORS
 
51
#    ifdef NDEBUG
 
52
#        define BOOST_PP_CONFIG_ERRORS 0
 
53
#    else
 
54
#        define BOOST_PP_CONFIG_ERRORS 1
 
55
#    endif
 
56
# endif
 
57
#
 
58
# endif