Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:30:07

0001 //  (C) Copyright John Maddock 2001 - 2003. 
0002 //  (C) Copyright Jens Maurer 2001 - 2003. 
0003 //  (C) Copyright David Abrahams 2002. 
0004 //  (C) Copyright Toon Knapen 2003. 
0005 //  (C) Copyright Boris Gubenko 2006 - 2007.
0006 //  Use, modification and distribution are subject to the 
0007 //  Boost Software License, Version 1.0. (See accompanying file 
0008 //  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
0009 
0010 //  See http://www.boost.org for most recent version.
0011 
0012 //  hpux specific config options:
0013 
0014 #define BOOST_PLATFORM "HP-UX"
0015 
0016 // In principle, HP-UX has a nice <stdint.h> under the name <inttypes.h>
0017 // However, it has the following problem:
0018 // Use of UINT32_C(0) results in "0u l" for the preprocessed source
0019 // (verifyable with gcc 2.95.3)
0020 #if (defined(__GNUC__) && (__GNUC__ >= 3)) || defined(__HP_aCC)
0021 #  define BOOST_HAS_STDINT_H
0022 #endif
0023 
0024 #if !(defined(__HP_aCC) || !defined(_INCLUDE__STDC_A1_SOURCE))
0025 #  define BOOST_NO_SWPRINTF
0026 #endif
0027 #if defined(__HP_aCC) && !defined(_INCLUDE__STDC_A1_SOURCE)
0028 #  define BOOST_NO_CWCTYPE
0029 #endif
0030 
0031 #if defined(__GNUC__)
0032 #  if (__GNUC__ < 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ < 3))
0033       // GNU C on HP-UX does not support threads (checked up to gcc 3.3)
0034 #     define BOOST_DISABLE_THREADS
0035 #  elif !defined(BOOST_DISABLE_THREADS)
0036       // threads supported from gcc-3.3 onwards:
0037 #     define BOOST_HAS_THREADS
0038 #     define BOOST_HAS_PTHREADS
0039 #  endif
0040 #elif defined(__HP_aCC) && !defined(BOOST_DISABLE_THREADS)
0041 #  define BOOST_HAS_PTHREADS
0042 #endif
0043 
0044 // boilerplate code:
0045 #define BOOST_HAS_UNISTD_H
0046 #include <boost/config/detail/posix_features.hpp>
0047 
0048 // the following are always available:
0049 #ifndef BOOST_HAS_GETTIMEOFDAY
0050 #  define BOOST_HAS_GETTIMEOFDAY
0051 #endif
0052 #ifndef BOOST_HAS_SCHED_YIELD
0053 #    define BOOST_HAS_SCHED_YIELD
0054 #endif
0055 #ifndef BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE
0056 #    define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE
0057 #endif
0058 #ifndef BOOST_HAS_NL_TYPES_H
0059 #    define BOOST_HAS_NL_TYPES_H
0060 #endif
0061 #ifndef BOOST_HAS_NANOSLEEP
0062 #    define BOOST_HAS_NANOSLEEP
0063 #endif
0064 #ifndef BOOST_HAS_GETTIMEOFDAY
0065 #    define BOOST_HAS_GETTIMEOFDAY
0066 #endif
0067 #ifndef BOOST_HAS_DIRENT_H
0068 #    define BOOST_HAS_DIRENT_H
0069 #endif
0070 #ifndef BOOST_HAS_CLOCK_GETTIME
0071 #    define BOOST_HAS_CLOCK_GETTIME
0072 #endif
0073 #ifndef BOOST_HAS_SIGACTION
0074 #  define BOOST_HAS_SIGACTION
0075 #endif
0076 #ifndef BOOST_HAS_NRVO 
0077 #  ifndef __parisc
0078 #    define BOOST_HAS_NRVO
0079 #  endif
0080 #endif
0081 #ifndef BOOST_HAS_LOG1P 
0082 #  define BOOST_HAS_LOG1P
0083 #endif
0084 #ifndef BOOST_HAS_EXPM1
0085 #  define BOOST_HAS_EXPM1
0086 #endif
0087