]> AND Private Git Repository - canny.git/blob - stc/exp/ml_stc_linux_make_v1.0/include/boost/config/platform/hpux.hpp
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
8e79892b12e34a14b30ff1e6fa9d6b03a95e995f
[canny.git] / stc / exp / ml_stc_linux_make_v1.0 / include / boost / config / platform / hpux.hpp
1 //  (C) Copyright John Maddock 2001 - 2003. \r
2 //  (C) Copyright Jens Maurer 2001 - 2003. \r
3 //  (C) Copyright David Abrahams 2002. \r
4 //  (C) Copyright Toon Knapen 2003. \r
5 //  (C) Copyright Boris Gubenko 2006 - 2007.\r
6 //  Use, modification and distribution are subject to the \r
7 //  Boost Software License, Version 1.0. (See accompanying file \r
8 //  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)\r
9 \r
10 //  See http://www.boost.org for most recent version.\r
11 \r
12 //  hpux specific config options:\r
13 \r
14 #define BOOST_PLATFORM "HP-UX"\r
15 \r
16 // In principle, HP-UX has a nice <stdint.h> under the name <inttypes.h>\r
17 // However, it has the following problem:\r
18 // Use of UINT32_C(0) results in "0u l" for the preprocessed source\r
19 // (verifyable with gcc 2.95.3)\r
20 #if (defined(__GNUC__) && (__GNUC__ >= 3)) || defined(__HP_aCC)\r
21 #  define BOOST_HAS_STDINT_H\r
22 #endif\r
23 \r
24 #if !(defined(__HP_aCC) || !defined(_INCLUDE__STDC_A1_SOURCE))\r
25 #  define BOOST_NO_SWPRINTF\r
26 #endif\r
27 #if defined(__HP_aCC) && !defined(_INCLUDE__STDC_A1_SOURCE)\r
28 #  define BOOST_NO_CWCTYPE\r
29 #endif\r
30 \r
31 #if defined(__GNUC__)\r
32 #  if (__GNUC__ < 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ < 3))\r
33       // GNU C on HP-UX does not support threads (checked up to gcc 3.3)\r
34 #     define BOOST_DISABLE_THREADS\r
35 #  elif !defined(BOOST_DISABLE_THREADS)\r
36       // threads supported from gcc-3.3 onwards:\r
37 #     define BOOST_HAS_THREADS\r
38 #     define BOOST_HAS_PTHREADS\r
39 #  endif\r
40 #elif defined(__HP_aCC) && !defined(BOOST_DISABLE_THREADS)\r
41 #  define BOOST_HAS_PTHREADS\r
42 #endif\r
43 \r
44 // boilerplate code:\r
45 #define BOOST_HAS_UNISTD_H\r
46 #include <boost/config/posix_features.hpp>\r
47 \r
48 // the following are always available:\r
49 #ifndef BOOST_HAS_GETTIMEOFDAY\r
50 #  define BOOST_HAS_GETTIMEOFDAY\r
51 #endif\r
52 #ifndef BOOST_HAS_SCHED_YIELD\r
53 #    define BOOST_HAS_SCHED_YIELD\r
54 #endif\r
55 #ifndef BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE\r
56 #    define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE\r
57 #endif\r
58 #ifndef BOOST_HAS_NL_TYPES_H\r
59 #    define BOOST_HAS_NL_TYPES_H\r
60 #endif\r
61 #ifndef BOOST_HAS_NANOSLEEP\r
62 #    define BOOST_HAS_NANOSLEEP\r
63 #endif\r
64 #ifndef BOOST_HAS_GETTIMEOFDAY\r
65 #    define BOOST_HAS_GETTIMEOFDAY\r
66 #endif\r
67 #ifndef BOOST_HAS_DIRENT_H\r
68 #    define BOOST_HAS_DIRENT_H\r
69 #endif\r
70 #ifndef BOOST_HAS_CLOCK_GETTIME\r
71 #    define BOOST_HAS_CLOCK_GETTIME\r
72 #endif\r
73 #ifndef BOOST_HAS_SIGACTION\r
74 #  define BOOST_HAS_SIGACTION\r
75 #endif\r
76 #ifndef BOOST_HAS_NRVO \r
77 #  ifndef __parisc\r
78 #    define BOOST_HAS_NRVO\r
79 #  endif\r
80 #endif\r
81 #ifndef BOOST_HAS_LOG1P \r
82 #  define BOOST_HAS_LOG1P\r
83 #endif\r
84 #ifndef BOOST_HAS_EXPM1\r
85 #  define BOOST_HAS_EXPM1\r
86 #endif\r
87 \r