1 // (C) Copyright Boost.org 2001. Permission to copy, use, modify, sell and
2 // distribute this software is granted provided this copyright notice appears
3 // in all copies. This software is provided "as is" without express or implied
4 // warranty, and with no claim as to its suitability for any purpose.
6 // See http://www.boost.org for most recent version.
8 // hpux specific config options:
10 #define BOOST_PLATFORM "HP-UX"
12 // In principle, HP-UX has a nice <stdint.h> under the name <inttypes.h>
13 // However, it has the following problem:
14 // Use of UINT32_C(0) results in "0u l" for the preprocessed source
15 // (verifyable with gcc 2.95.3, assumed for HP aCC)
16 // #define BOOST_HAS_STDINT_H
18 #define BOOST_NO_SWPRINTF
19 #define BOOST_NO_CWCTYPE
22 #define BOOST_HAS_UNISTD_H
23 #include <boost/config/posix_features.hpp>
25 // HPUX has an incomplete pthreads implementation, so it doesn't
26 // define _POSIX_THREADS, but it might be enough to implement
28 #if !defined(BOOST_HAS_PTHREADS) && defined(_POSIX_THREAD_ATTR_STACKADDR)
29 # define BOOST_HAS_PTHREADS
32 // the following are always available:
33 #ifndef BOOST_HAS_GETTIMEOFDAY
34 # define BOOST_HAS_GETTIMEOFDAY
36 #ifndef BOOST_HAS_SCHED_YIELD
37 # define BOOST_HAS_SCHED_YIELD
39 #ifndef BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE
40 # define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE
42 #ifndef BOOST_HAS_NL_TYPES_H
43 # define BOOST_HAS_NL_TYPES_H
45 #ifndef BOOST_HAS_NANOSLEEP
46 # define BOOST_HAS_NANOSLEEP
48 #ifndef BOOST_HAS_GETTIMEOFDAY
49 # define BOOST_HAS_GETTIMEOFDAY
51 #ifndef BOOST_HAS_DIRENT_H
52 # define BOOST_HAS_DIRENT_H
54 #ifndef BOOST_HAS_CLOCK_GETTIME
55 # define BOOST_HAS_CLOCK_GETTIME
57 #ifndef BOOST_HAS_SIGACTION
58 # define BOOST_HAS_SIGACTION