~ubuntu-branches/ubuntu/breezy/ace/breezy

« back to all changes in this revision

Viewing changes to ace/OS.i

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad, Benjamin Montgomery, Adam Conrad
  • Date: 2005-09-18 22:51:38 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 sarge) (0.1.2 woody)
  • Revision ID: james.westby@ubuntu.com-20050918225138-seav22q6fyylb536
Tags: 5.4.7-3ubuntu1
[ Benjamin Montgomery ]
* Added a patch for amd64 and powerpc that disables the compiler
  option -fvisibility-inlines-hidden

[ Adam Conrad ]
* Added DPATCH_OPTION_CPP=1 to debian/patches/00options to make
  Benjamin's above changes work correctly with dpatch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
// -*- C++ -*-
2
 
// OS.i,v 4.1102 2003/11/05 20:09:07 dhinton Exp
3
 
 
4
 
#if !defined (ACE_HAS_INLINED_OSCALLS)
5
 
# undef ACE_INLINE
6
 
# define ACE_INLINE
7
 
#endif /* ACE_HAS_INLINED_OSCALLS */
8
 
 
9
 
#if defined (ACE_HAS_XLI)
10
 
# include /**/ <xliuser.h>
11
 
#endif /* ACE_HAS_XLI */
12
 
 
13
 
#if !defined (ACE_HAS_CPLUSPLUS_HEADERS)
14
 
# include /**/ <libc.h>
15
 
# include /**/ <osfcn.h>
16
 
#endif /* ACE_HAS_CPLUSPLUS_HEADERS */
17
 
 
18
 
#if defined (ACE_HAS_SYSENT_H)
19
 
# include /**/ <sysent.h>
20
 
#endif /* ACE_HAS_SYSENT_H_*/
21
 
 
22
 
#if defined (ACE_USES_STD_NAMESPACE_FOR_STDC_LIB) && \
23
 
            (ACE_USES_STD_NAMESPACE_FOR_STDC_LIB != 0)
24
 
using std::bsearch;
25
 
using std::qsort;
26
 
# if defined (ACE_WIN32)
27
 
using std::_tzset;
28
 
# else
29
 
using std::tzset;
30
 
# endif
31
 
using std::ctime;
32
 
using std::localtime;
33
 
using std::gmtime;
34
 
using std::asctime;
35
 
using std::strftime;
36
 
#endif /* ACE_USES_STD_NAMESPACE_FOR_STDC_LIB */
37
 
 
38
 
#if !defined (ACE_LACKS_MALLOC_H)
39
 
# include /**/ <malloc.h>
40
 
#endif /* ACE_LACKS_MALLOC_H */
41
 
 
42
 
#if !defined (ACE_WIN32)
43
 
 
44
 
// Matthew Stevens 7-10-95 Fix GNU GCC 2.7 for memchr() problem.
45
 
# if defined (ACE_HAS_GNU_CSTRING_H)
46
 
// Define this file to keep /usr/include/memory.h from being included.
47
 
#   include /**/ <cstring>
48
 
# else
49
 
#   if defined (ACE_LACKS_MEMORY_H)
50
 
#     if !defined (ACE_PSOS_DIAB_MIPS)
51
 
#       include "ace/os_include/os_string.h"
52
 
#     endif /* ACE_PSOS_DIAB_MIPS */
53
 
#   else
54
 
#     include /**/ <memory.h>
55
 
#   endif /* VXWORKS */
56
 
# endif /* ACE_HAS_GNU_CSTRING_H */
57
 
 
58
 
// The following are #defines and #includes that must be visible for
59
 
// ACE to compile it's OS wrapper class implementation correctly.  We
60
 
// put them inside of here to reduce compiler overhead if we're not
61
 
// inlining...
62
 
 
63
 
# if defined (ACE_HAS_REGEX)
64
 
#   include /**/ <regexpr.h>
65
 
# endif /* ACE_HAS_REGEX */
66
 
 
67
 
# if defined (ACE_HAS_SYSINFO)
68
 
#   include /**/ <sys/systeminfo.h>
69
 
# endif /* ACE_HAS_SYS_INFO */
70
 
 
71
 
# if defined (ACE_HAS_SYSCALL_H)
72
 
#   include /**/ <sys/syscall.h>
73
 
# endif /* ACE_HAS_SYSCALL_H */
74
 
 
75
 
# if defined (UNIXWARE)  /* See strcasecmp, below */
76
 
#   include /**/ <ctype.h>
77
 
# endif /* UNIXWARE */
78
 
 
79
 
# if defined (ACE_HAS_GETIFADDRS)
80
 
#   include /**/ <ifaddrs.h>
81
 
# endif /* ACE_HAS_GETIFADDRS */
82
 
 
83
 
 
84
 
#endif /* WIN32 */
85
 
 
86
 
#if defined (ACE_HAS_SHM_OPEN) && defined(INTEGRITY)
87
 
#include "ace/os_include/sys/os_mman.h"
88
 
#endif
89
 
 
90
 
// ****************************************************************
91