forked from boostorg/config
35 lines
879 B
C++
35 lines
879 B
C++
// (C) Copyright John Maddock 2001 - 2003.
|
|
// (C) Copyright Jens Maurer 2003.
|
|
// (C) Copyright Bryce Lelbach 2010
|
|
// 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.
|
|
|
|
// sun specific config options:
|
|
|
|
#define BOOST_PLATFORM "Sun Solaris"
|
|
|
|
#define BOOST_NIX 1
|
|
//#define BOOST_GENETIC_NIX 1
|
|
#define BOOST_TRADEMARK_NIX 1
|
|
//#define BOOST_FUNCTIONAL_NIX 1
|
|
|
|
#define BOOST_HAS_GETTIMEOFDAY
|
|
|
|
// boilerplate code:
|
|
#define BOOST_HAS_UNISTD_H
|
|
#include <boost/config/posix_features.hpp>
|
|
|
|
//
|
|
// pthreads don't actually work with gcc unless _PTHREADS is defined:
|
|
//
|
|
#if defined(__GNUC__) && defined(_POSIX_THREADS) && !defined(_PTHREADS)
|
|
# undef BOOST_HAS_PTHREADS
|
|
#endif
|
|
|
|
|
|
|
|
|