]> git.lyx.org Git - lyx.git/blob - boost/boost/config/platform/hpux.hpp
update boost to pre-1.30.0
[lyx.git] / boost / boost / config / platform / hpux.hpp
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.
5
6 //  See http://www.boost.org for most recent version.
7
8 //  hpux specific config options:
9
10 #define BOOST_PLATFORM "HP-UX"
11
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
17
18 #define BOOST_NO_SWPRINTF 
19 #define BOOST_NO_CWCTYPE
20
21 // boilerplate code:
22 #define BOOST_HAS_UNISTD_H
23 #include <boost/config/posix_features.hpp>
24
25 // HPUX has an incomplete pthreads implementation, so it doesn't
26 // define _POSIX_THREADS, but it might be enough to implement
27 // Boost.Threads.
28 #if !defined(BOOST_HAS_PTHREADS) && defined(_POSIX_THREAD_ATTR_STACKADDR)
29 # define BOOST_HAS_PTHREADS 
30 #endif
31
32 // the following are always available:
33 #ifndef BOOST_HAS_GETTIMEOFDAY
34 #  define BOOST_HAS_GETTIMEOFDAY
35 #endif
36 #ifndef BOOST_HAS_SCHED_YIELD
37 #    define BOOST_HAS_SCHED_YIELD
38 #endif
39 #ifndef BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE
40 #    define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE
41 #endif
42 #ifndef BOOST_HAS_NL_TYPES_H
43 #    define BOOST_HAS_NL_TYPES_H
44 #endif
45 #ifndef BOOST_HAS_NANOSLEEP
46 #    define BOOST_HAS_NANOSLEEP
47 #endif
48 #ifndef BOOST_HAS_GETTIMEOFDAY
49 #    define BOOST_HAS_GETTIMEOFDAY
50 #endif
51 #ifndef BOOST_HAS_DIRENT_H
52 #    define BOOST_HAS_DIRENT_H
53 #endif
54 #ifndef BOOST_HAS_CLOCK_GETTIME
55 #    define BOOST_HAS_CLOCK_GETTIME
56 #endif
57 #ifndef BOOST_HAS_SIGACTION
58 #  define BOOST_HAS_SIGACTION
59 #endif
60