(file) Return to Platform_LINUX_IX86_GNU.h CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Common

 1 mike  1.8 //%/////////////////////////////////////////////////////////////////////////////
 2           //
 3           // Copyright (c) 2000, 2001 The Open group, BMC Software, Tivoli Systems, IBM
 4           //
 5           // Permission is hereby granted, free of charge, to any person obtaining a copy
 6           // of this software and associated documentation files (the "Software"), to 
 7           // deal in the Software without restriction, including without limitation the 
 8           // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or 
 9           // sell copies of the Software, and to permit persons to whom the Software is
10           // furnished to do so, subject to the following conditions:
11           // 
12           // THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN 
13           // ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED
14           // "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
15           // LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR 
16           // PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 
17           // HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 
18           // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
19           // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20           //
21           //==============================================================================
22 mike  1.8 //
23           // Author: Mike Brasher (mbrasher@bmc.com)
24           //
25 mike  1.9 // Modified By: Mike Day (mdday@us.ibm.com)
26 mike  1.8 //
27           //%/////////////////////////////////////////////////////////////////////////////
28           
29           #ifndef Pegasus_Platform_LINUX_IX86_GNU_h
30           #define Pegasus_Platform_LINUX_IX86_GNU_h
31           
32           #include <Pegasus/Common/ConfigUnix.h>
33 mday  1.13 #define PEGASUS_PLATFORM_LINUX_GENERIC_GNU
34 mike  1.8  #define PEGASUS_OS_LINUX
35            
36            #define PEGASUS_ARCHITECTURE_IX86
37            
38            #define PEGASUS_COMPILER_GNU
39            
40            #define PEGASUS_UINT64 unsigned long long
41            
42            #define PEGASUS_SINT64 long long
43            
44 mday  1.11 #define PEGASUS_LLONG_MAX 9223372036854775807LL
45            #define PEGASUS_LLONG_MIN (-PEGASUS_LLONG_MAX - 1LL)
46            
47            #define PEGASUS_ULLONG_MAX 18446744073709551615ULL
48            
49 mike  1.8  #define PEGASUS_HAVE_NAMESPACES
50            
51            #define PEGASUS_HAVE_EXPLICIT
52            
53            #define PEGASUS_HAVE_MUTABLE
54            
55            #define PEGASUS_HAVE_FOR_SCOPE
56            
57            // #define PEGASUS_HAVE_TEMPLATE_SPECIALIZATION
58            
59            #define PEGASUS_HAVE_BOOLEAN
60            
61            // #define PEGASUS_EXPLICIT_INSTANTIATION
62 mike  1.9  #ifndef _GNU_SOURCE
63            #define _GNU_SOURCE
64            #endif
65            #ifndef _REENTRANT
66            #define _REENTRANT
67            #endif
68            #define _THREAD_SAFE
69            #include <features.h>
70 mday  1.10 #include <stdio.h>
71            #include <stdlib.h>
72 mday  1.12 #ifndef min
73            #define min(a,b) (((a)<(b))?(a):(b))
74            #endif
75 mike  1.8  #endif /* Pegasus_Platform_LINUX_IX86_GNU_h */

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2