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)
|
---|
8 |
|
---|
9 | // See http://www.boost.org for most recent version.
|
---|
10 |
|
---|
11 | // hpux specific config options:
|
---|
12 |
|
---|
13 | #define BOOST_PLATFORM "HP-UX"
|
---|
14 |
|
---|
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
|
---|
20 |
|
---|
21 | #define BOOST_NO_SWPRINTF
|
---|
22 | #define BOOST_NO_CWCTYPE
|
---|
23 |
|
---|
24 | #if defined(__GNUC__)
|
---|
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
|
---|
32 | # endif
|
---|
33 | #endif
|
---|
34 |
|
---|
35 | // boilerplate code:
|
---|
36 | #define BOOST_HAS_UNISTD_H
|
---|
37 | #include <boost/config/posix_features.hpp>
|
---|
38 |
|
---|
39 | // the following are always available:
|
---|
40 | #ifndef BOOST_HAS_GETTIMEOFDAY
|
---|
41 | # define BOOST_HAS_GETTIMEOFDAY
|
---|
42 | #endif
|
---|
43 | #ifndef BOOST_HAS_SCHED_YIELD
|
---|
44 | # define BOOST_HAS_SCHED_YIELD
|
---|
45 | #endif
|
---|
46 | #ifndef BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE
|
---|
47 | # define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE
|
---|
48 | #endif
|
---|
49 | #ifndef BOOST_HAS_NL_TYPES_H
|
---|
50 | # define BOOST_HAS_NL_TYPES_H
|
---|
51 | #endif
|
---|
52 | #ifndef BOOST_HAS_NANOSLEEP
|
---|
53 | # define BOOST_HAS_NANOSLEEP
|
---|
54 | #endif
|
---|
55 | #ifndef BOOST_HAS_GETTIMEOFDAY
|
---|
56 | # define BOOST_HAS_GETTIMEOFDAY
|
---|
57 | #endif
|
---|
58 | #ifndef BOOST_HAS_DIRENT_H
|
---|
59 | # define BOOST_HAS_DIRENT_H
|
---|
60 | #endif
|
---|
61 | #ifndef BOOST_HAS_CLOCK_GETTIME
|
---|
62 | # define BOOST_HAS_CLOCK_GETTIME
|
---|
63 | #endif
|
---|
64 | #ifndef BOOST_HAS_SIGACTION
|
---|
65 | # define BOOST_HAS_SIGACTION
|
---|
66 | #endif
|
---|
67 |
|
---|
68 |
|
---|