mirror of
https://github.com/NVIDIA/cuda-samples.git
synced 2024-11-25 10:29:16 +08:00
31 lines
913 B
C++
31 lines
913 B
C++
|
// (C) Copyright John Maddock 2006.
|
||
|
// 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.
|
||
|
|
||
|
// GCC-XML C++ compiler setup:
|
||
|
|
||
|
# if !defined(__GCCXML_GNUC__) || ((__GCCXML_GNUC__ <= 3) && (__GCCXML_GNUC_MINOR__ <= 3))
|
||
|
# define BOOST_NO_IS_ABSTRACT
|
||
|
# endif
|
||
|
|
||
|
//
|
||
|
// Threading support: Turn this on unconditionally here (except for
|
||
|
// those platforms where we can know for sure). It will get turned off again
|
||
|
// later if no threading API is detected.
|
||
|
//
|
||
|
#if !defined(__MINGW32__) && !defined(_MSC_VER) && !defined(linux) && !defined(__linux) && !defined(__linux__)
|
||
|
# define BOOST_HAS_THREADS
|
||
|
#endif
|
||
|
|
||
|
//
|
||
|
// gcc has "long long"
|
||
|
//
|
||
|
#define BOOST_HAS_LONG_LONG
|
||
|
|
||
|
#define BOOST_COMPILER "GCC-XML C++ version " __GCCXML__
|
||
|
|
||
|
|