hpux.hpp
Go to the documentation of this file.
00001 //  (C) Copyright John Maddock 2001 - 2003. 
00002 //  (C) Copyright Jens Maurer 2001 - 2003. 
00003 //  (C) Copyright David Abrahams 2002. 
00004 //  (C) Copyright Toon Knapen 2003. 
00005 //  (C) Copyright Boris Gubenko 2006 - 2007.
00006 //  Use, modification and distribution are subject to the 
00007 //  Boost Software License, Version 1.0. (See accompanying file 
00008 //  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
00009 
00010 //  See http://www.boost.org for most recent version.
00011 
00012 //  hpux specific config options:
00013 
00014 #define BOOST_PLATFORM "HP-UX"
00015 
00016 // In principle, HP-UX has a nice <stdint.h> under the name <inttypes.h>
00017 // However, it has the following problem:
00018 // Use of UINT32_C(0) results in "0u l" for the preprocessed source
00019 // (verifyable with gcc 2.95.3)
00020 #if (defined(__GNUC__) && (__GNUC__ >= 3)) || defined(__HP_aCC)
00021 #  define BOOST_HAS_STDINT_H
00022 #endif
00023 
00024 #if !(defined(__HP_aCC) || !defined(_INCLUDE__STDC_A1_SOURCE))
00025 #  define BOOST_NO_SWPRINTF
00026 #endif
00027 #if defined(__HP_aCC) && !defined(_INCLUDE__STDC_A1_SOURCE)
00028 #  define BOOST_NO_CWCTYPE
00029 #endif
00030 
00031 #if defined(__GNUC__)
00032 #  if (__GNUC__ < 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ < 3))
00033       // GNU C on HP-UX does not support threads (checked up to gcc 3.3)
00034 #     define BOOST_DISABLE_THREADS
00035 #  elif !defined(BOOST_DISABLE_THREADS)
00036       // threads supported from gcc-3.3 onwards:
00037 #     define BOOST_HAS_THREADS
00038 #     define BOOST_HAS_PTHREADS
00039 #  endif
00040 #elif defined(__HP_aCC) && !defined(BOOST_DISABLE_THREADS)
00041 #  define BOOST_HAS_PTHREADS
00042 #endif
00043 
00044 // boilerplate code:
00045 #define BOOST_HAS_UNISTD_H
00046 #include <boost/config/posix_features.hpp>
00047 
00048 // the following are always available:
00049 #ifndef BOOST_HAS_GETTIMEOFDAY
00050 #  define BOOST_HAS_GETTIMEOFDAY
00051 #endif
00052 #ifndef BOOST_HAS_SCHED_YIELD
00053 #    define BOOST_HAS_SCHED_YIELD
00054 #endif
00055 #ifndef BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE
00056 #    define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE
00057 #endif
00058 #ifndef BOOST_HAS_NL_TYPES_H
00059 #    define BOOST_HAS_NL_TYPES_H
00060 #endif
00061 #ifndef BOOST_HAS_NANOSLEEP
00062 #    define BOOST_HAS_NANOSLEEP
00063 #endif
00064 #ifndef BOOST_HAS_GETTIMEOFDAY
00065 #    define BOOST_HAS_GETTIMEOFDAY
00066 #endif
00067 #ifndef BOOST_HAS_DIRENT_H
00068 #    define BOOST_HAS_DIRENT_H
00069 #endif
00070 #ifndef BOOST_HAS_CLOCK_GETTIME
00071 #    define BOOST_HAS_CLOCK_GETTIME
00072 #endif
00073 #ifndef BOOST_HAS_SIGACTION
00074 #  define BOOST_HAS_SIGACTION
00075 #endif
00076 #ifndef BOOST_HAS_NRVO 
00077 #  ifndef __parisc
00078 #    define BOOST_HAS_NRVO
00079 #  endif
00080 #endif
00081 #ifndef BOOST_HAS_LOG1P 
00082 #  define BOOST_HAS_LOG1P
00083 #endif
00084 #ifndef BOOST_HAS_EXPM1
00085 #  define BOOST_HAS_EXPM1
00086 #endif
00087 


appl
Author(s): petercai
autogenerated on Tue Jan 7 2014 11:02:29