blob: 38320f5bce9b1849b81ebc7f79ed53fb4c3a961e [file] [log] [blame]
Jeff Thompsonf7d49942013-08-01 16:47:40 -07001// (C) Copyright John Maddock 2001.
2// (C) Copyright David Abrahams 2002.
3// (C) Copyright Aleksey Gurtovoy 2002.
4// Use, modification and distribution are subject to the
5// Boost Software License, Version 1.0. (See accompanying file
6// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
7
8// See http://www.boost.org for most recent version.
9
10// Kai C++ compiler setup:
11
Jeff Thompson2277ce52013-08-01 17:34:11 -070012#include "ndnboost/config/compiler/common_edg.hpp"
Jeff Thompsonf7d49942013-08-01 16:47:40 -070013
Jeff Thompson3d613fd2013-10-15 15:39:04 -070014# if (__KCC_VERSION <= 4001) || !defined(NDNBOOST_STRICT_CONFIG)
Jeff Thompsonf7d49942013-08-01 16:47:40 -070015 // at least on Sun, the contents of <cwchar> is not in namespace std
Jeff Thompson3d613fd2013-10-15 15:39:04 -070016# define NDNBOOST_NO_STDC_NAMESPACE
Jeff Thompsonf7d49942013-08-01 16:47:40 -070017# endif
18
19// see also common_edg.hpp which needs a special check for __KCC
Jeff Thompson3d613fd2013-10-15 15:39:04 -070020# if !defined(_EXCEPTIONS) && !defined(NDNBOOST_NO_EXCEPTIONS)
21# define NDNBOOST_NO_EXCEPTIONS
Jeff Thompsonf7d49942013-08-01 16:47:40 -070022# endif
23
24//
25// last known and checked version is 4001:
26#if (__KCC_VERSION > 4001)
Jeff Thompson3d613fd2013-10-15 15:39:04 -070027# if defined(NDNBOOST_ASSERT_CONFIG)
Jeff Thompsonf7d49942013-08-01 16:47:40 -070028# error "Unknown compiler version - please run the configure tests and report the results"
29# endif
30#endif
31
32
33