1 martin 1.4 //%LICENSE////////////////////////////////////////////////////////////////
|
2 martin 1.5 //
|
3 martin 1.4 // Licensed to The Open Group (TOG) under one or more contributor license
4 // agreements. Refer to the OpenPegasusNOTICE.txt file distributed with
5 // this work for additional information regarding copyright ownership.
6 // Each contributor licenses this file to you under the OpenPegasus Open
7 // Source License; you may not use this file except in compliance with the
8 // License.
|
9 martin 1.5 //
|
10 martin 1.4 // Permission is hereby granted, free of charge, to any person obtaining a
11 // copy of this software and associated documentation files (the "Software"),
12 // to deal in the Software without restriction, including without limitation
13 // the rights to use, copy, modify, merge, publish, distribute, sublicense,
14 // and/or sell copies of the Software, and to permit persons to whom the
15 // Software is furnished to do so, subject to the following conditions:
|
16 martin 1.5 //
|
17 martin 1.4 // The above copyright notice and this permission notice shall be included
18 // in all copies or substantial portions of the Software.
|
19 martin 1.5 //
|
20 martin 1.4 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
21 martin 1.5 // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
22 martin 1.4 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
23 // IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
24 // CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
25 // TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
26 // SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
27 martin 1.5 //
|
28 martin 1.4 //////////////////////////////////////////////////////////////////////////
|
29 karl 1.2 //
30 //%/////////////////////////////////////////////////////////////////////////////
31
32 #ifndef Pegasus_Platform_SOLARIS_CC_h
33 #define Pegasus_Platform_SOLARIS_CC_h
34
35 #ifndef PEGASUS_OS_SOLARIS
36 # define PEGASUS_OS_SOLARIS
37 #endif
38
39 #include <limits.h>
40
41 #ifdef __cplusplus
42 # include <cstdio>
43 # include <cstddef>
|
44 kumpf 1.6 # ifdef PEGASUS_INTERNALONLY
|
45 karl 1.2 using namespace std;
46 # endif
47 #endif
48
49 #define PEGASUS_OS_TYPE_UNIX
50
51 #define PEGASUS_COMPILER_CC
52
53 #define PEGASUS_UINT64 unsigned long long
54
55 #define PEGASUS_SINT64 long long
56
57 #define SEM_VALUE_MAX _POSIX_SEM_VALUE_MAX
58
59 #define PEGASUS_HAVE_NAMESPACES
60
61 #define PEGASUS_HAVE_FOR_SCOPE
62
63 #define PEGASUS_HAVE_TEMPLATE_SPECIALIZATION
64
65 #define PEGASUS_DISABLE_INTERNAL_INLINES
66 karl 1.2
67 #define PEGASUS_HAVE_PTHREADS
68
69 #define PEGASUS_HAS_SIGNALS
70
|
71 kavita.gupta 1.3 #define PEGASUS_INTEGERS_BOUNDARY_ALIGNED
72
|
73 karl 1.2 /* use POSIX read-write locks on this platform */
74 #define PEGASUS_USE_POSIX_RWLOCK
75
76 #endif /* Pegasus_Platform_SOLARIS_CC_h */
|