PageRenderTime 41ms CodeModel.GetById 38ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/extlibs/Boost/include/boost/config/platform/solaris.hpp

https://bitbucket.org/hugoruscitti/pilascpp
C++ Header | 28 lines | 7 code | 10 blank | 11 comment | 2 complexity | 250c5c2c49f828a7703a2a81e9ab4388 MD5 | raw file
 1//  (C) Copyright John Maddock 2001 - 2003. 
 2//  (C) Copyright Jens Maurer 2003. 
 3//  Use, modification and distribution are subject to the 
 4//  Boost Software License, Version 1.0. (See accompanying file 
 5//  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
 6
 7//  See http://www.boost.org for most recent version.
 8
 9//  sun specific config options:
10
11#define BOOST_PLATFORM "Sun Solaris"
12
13#define BOOST_HAS_GETTIMEOFDAY
14
15// boilerplate code:
16#define BOOST_HAS_UNISTD_H
17#include <boost/config/posix_features.hpp>
18
19//
20// pthreads don't actually work with gcc unless _PTHREADS is defined:
21//
22#if defined(__GNUC__) && defined(_POSIX_THREADS) && !defined(_PTHREADS)
23# undef BOOST_HAS_PTHREADS
24#endif
25
26
27
28