~ubuntu-branches/ubuntu/breezy/aqsis/breezy

« back to all changes in this revision

Viewing changes to boost/boost/config/platform/hpux.hpp

  • Committer: Bazaar Package Importer
  • Author(s): Will Newton
  • Date: 2004-12-07 20:06:49 UTC
  • Revision ID: james.westby@ubuntu.com-20041207200649-fccswkrvp4oc8lmn
Tags: upstream-0.9.3
ImportĀ upstreamĀ versionĀ 0.9.3

Show diffs side-by-side

added added

removed removed

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