1 // (C) Copyright John Maddock 2001 - 2003.
2 // (C) Copyright Jens Maurer 2001 - 2003.
3 // (C) Copyright David Abrahams 2002.
4 // (C) Copyright Toon Knapen 2003.
5 // Use, modification and distribution are subject to the
6 // Boost Software License, Version 1.0. (See accompanying file
7 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
9 // See http://www.boost.org for most recent version.
11 // hpux specific config options:
13 #define BOOST_PLATFORM "HP-UX"
15 // In principle, HP-UX has a nice <stdint.h> under the name <inttypes.h>
16 // However, it has the following problem:
17 // Use of UINT32_C(0) results in "0u l" for the preprocessed source
18 // (verifyable with gcc 2.95.3, assumed for HP aCC)
19 // #define BOOST_HAS_STDINT_H
21 #define BOOST_NO_SWPRINTF
22 #define BOOST_NO_CWCTYPE
25 # if (__GNUC__ < 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ < 3))
26 // GNU C on HP-UX does not support threads (checked up to gcc 3.3)
27 # define BOOST_DISABLE_THREADS
28 # elif !defined(BOOST_DISABLE_THREADS)
29 // threads supported from gcc-3.3 onwards:
30 # define BOOST_HAS_THREADS
31 # define BOOST_HAS_PTHREADS
36 #define BOOST_HAS_UNISTD_H
37 #include <boost/config/posix_features.hpp>
39 // the following are always available:
40 #ifndef BOOST_HAS_GETTIMEOFDAY
41 # define BOOST_HAS_GETTIMEOFDAY
43 #ifndef BOOST_HAS_SCHED_YIELD
44 # define BOOST_HAS_SCHED_YIELD
46 #ifndef BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE
47 # define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE
49 #ifndef BOOST_HAS_NL_TYPES_H
50 # define BOOST_HAS_NL_TYPES_H
52 #ifndef BOOST_HAS_NANOSLEEP
53 # define BOOST_HAS_NANOSLEEP
55 #ifndef BOOST_HAS_GETTIMEOFDAY
56 # define BOOST_HAS_GETTIMEOFDAY
58 #ifndef BOOST_HAS_DIRENT_H
59 # define BOOST_HAS_DIRENT_H
61 #ifndef BOOST_HAS_CLOCK_GETTIME
62 # define BOOST_HAS_CLOCK_GETTIME
64 #ifndef BOOST_HAS_SIGACTION
65 # define BOOST_HAS_SIGACTION