mirror of
https://github.com/NVIDIA/cuda-samples.git
synced 2024-11-25 07:09:15 +08:00
34 lines
990 B
C++
34 lines
990 B
C++
|
// (C) Copyright John Maddock 2001.
|
||
|
// (C) Copyright David Abrahams 2002.
|
||
|
// (C) Copyright Aleksey Gurtovoy 2002.
|
||
|
// Use, modification and distribution are subject to the
|
||
|
// Boost Software License, Version 1.0. (See accompanying file
|
||
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||
|
|
||
|
// See http://www.boost.org for most recent version.
|
||
|
|
||
|
// Kai C++ compiler setup:
|
||
|
|
||
|
#include "boost/config/compiler/common_edg.hpp"
|
||
|
|
||
|
# if (__KCC_VERSION <= 4001) || !defined(BOOST_STRICT_CONFIG)
|
||
|
// at least on Sun, the contents of <cwchar> is not in namespace std
|
||
|
# define BOOST_NO_STDC_NAMESPACE
|
||
|
# endif
|
||
|
|
||
|
// see also common_edg.hpp which needs a special check for __KCC
|
||
|
# if !defined(_EXCEPTIONS)
|
||
|
# define BOOST_NO_EXCEPTIONS
|
||
|
# endif
|
||
|
|
||
|
//
|
||
|
// last known and checked version is 4001:
|
||
|
#if (__KCC_VERSION > 4001)
|
||
|
# if defined(BOOST_ASSERT_CONFIG)
|
||
|
# error "Unknown compiler version - please run the configure tests and report the results"
|
||
|
# endif
|
||
|
#endif
|
||
|
|
||
|
|
||
|
|