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 // GNU C on HP-UX does not support threads (checked up to gcc 3.3)
26 # define BOOST_DISABLE_THREADS
30 #define BOOST_HAS_UNISTD_H
31 #include <boost/config/posix_features.hpp>
33 // the following are always available:
34 #ifndef BOOST_HAS_GETTIMEOFDAY
35 # define BOOST_HAS_GETTIMEOFDAY
37 #ifndef BOOST_HAS_SCHED_YIELD
38 # define BOOST_HAS_SCHED_YIELD
40 #ifndef BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE
41 # define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE
43 #ifndef BOOST_HAS_NL_TYPES_H
44 # define BOOST_HAS_NL_TYPES_H
46 #ifndef BOOST_HAS_NANOSLEEP
47 # define BOOST_HAS_NANOSLEEP
49 #ifndef BOOST_HAS_GETTIMEOFDAY
50 # define BOOST_HAS_GETTIMEOFDAY
52 #ifndef BOOST_HAS_DIRENT_H
53 # define BOOST_HAS_DIRENT_H
55 #ifndef BOOST_HAS_CLOCK_GETTIME
56 # define BOOST_HAS_CLOCK_GETTIME
58 #ifndef BOOST_HAS_SIGACTION
59 # define BOOST_HAS_SIGACTION