]> git.lyx.org Git - lyx.git/blob - boost/boost/config/platform/hpux.hpp
Boost 1.31.0
[lyx.git] / boost / boost / config / platform / hpux.hpp
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 #ifdef __GNUC__
25    // GNU C on HP-UX does not support threads (checked up to gcc 3.3)
26 #  define BOOST_DISABLE_THREADS
27 #endif
28
29 // boilerplate code:
30 #define BOOST_HAS_UNISTD_H
31 #include <boost/config/posix_features.hpp>
32
33 // the following are always available:
34 #ifndef BOOST_HAS_GETTIMEOFDAY
35 #  define BOOST_HAS_GETTIMEOFDAY
36 #endif
37 #ifndef BOOST_HAS_SCHED_YIELD
38 #    define BOOST_HAS_SCHED_YIELD
39 #endif
40 #ifndef BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE
41 #    define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE
42 #endif
43 #ifndef BOOST_HAS_NL_TYPES_H
44 #    define BOOST_HAS_NL_TYPES_H
45 #endif
46 #ifndef BOOST_HAS_NANOSLEEP
47 #    define BOOST_HAS_NANOSLEEP
48 #endif
49 #ifndef BOOST_HAS_GETTIMEOFDAY
50 #    define BOOST_HAS_GETTIMEOFDAY
51 #endif
52 #ifndef BOOST_HAS_DIRENT_H
53 #    define BOOST_HAS_DIRENT_H
54 #endif
55 #ifndef BOOST_HAS_CLOCK_GETTIME
56 #    define BOOST_HAS_CLOCK_GETTIME
57 #endif
58 #ifndef BOOST_HAS_SIGACTION
59 #  define BOOST_HAS_SIGACTION
60 #endif
61
62