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

 1 kumpf 1.9 /*
 2 karl  1.3 //%2006////////////////////////////////////////////////////////////////////////
 3 w.otsuka 1.1 //
 4              // Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development
 5              // Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems.
 6              // Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L.P.;
 7              // IBM Corp.; EMC Corporation, The Open Group.
 8              // Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.;
 9              // IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group.
10              // Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.;
11              // EMC Corporation; VERITAS Software Corporation; The Open Group.
12 karl     1.3 // Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.;
13              // EMC Corporation; Symantec Corporation; The Open Group.
14 w.otsuka 1.1 //
15              // Permission is hereby granted, free of charge, to any person obtaining a copy
16              // of this software and associated documentation files (the "Software"), to
17              // deal in the Software without restriction, including without limitation the
18              // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
19              // sell copies of the Software, and to permit persons to whom the Software is
20              // furnished to do so, subject to the following conditions:
21              // 
22              // THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN
23              // ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED
24              // "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
25              // LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
26              // PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
27              // HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
28              // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
29              // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
30              //
31              //==============================================================================
32              //
33              //%/////////////////////////////////////////////////////////////////////////////
34 kumpf    1.9 */
35 w.otsuka 1.1 
36              #ifndef Pegasus_Platform_LINUX_X86_64_GNU_h
37              #define Pegasus_Platform_LINUX_X86_64_GNU_h
38              
39 kumpf    1.9 #include <stddef.h>
40 w.otsuka 1.1 
41              #define PEGASUS_OS_TYPE_UNIX
42              
43              #ifndef PEGASUS_PLATFORM_LINUX_GENERIC_GNU
44              #define PEGASUS_PLATFORM_LINUX_GENERIC_GNU
45              #endif
46              
47              #define PEGASUS_OS_LINUX
48              
49              #define PEGASUS_POINTER_64BIT
50              
51              #define PEGASUS_COMPILER_GNU
52              
53              #define PEGASUS_UINT64 unsigned long long
54              
55              #define PEGASUS_SINT64 long long
56              
57              #define PEGASUS_HAVE_NAMESPACES
58              
59              #define PEGASUS_HAVE_FOR_SCOPE
60              
61 w.otsuka 1.1 #define PEGASUS_HAVE_TEMPLATE_SPECIALIZATION
62              
63              #ifndef _GNU_SOURCE
64              #define _GNU_SOURCE
65              #endif
66              #ifndef _REENTRANT
67              #define _REENTRANT
68              #endif
69              #define _THREAD_SAFE
70              #include <features.h>
71              #include <stdio.h>
72              #include <stdlib.h>
73 kumpf    1.9 #include <sys/param.h> /* For MAXHOSTNAMELEN */
74              #include <limits.h>    /* _POSIX_HOST_NAME_MAX  */
75 w.otsuka 1.1 
76 mike     1.4 #if (__GNUC__ >= 4)
77              # define PEGASUS_EXPORT __attribute__ ((visibility("default")))
78              # define PEGASUS_IMPORT __attribute__ ((visibility("default")))
79              # define PEGASUS_HIDDEN_LINKAGE __attribute__((visibility("hidden")))
80              #endif
81              
82 mike     1.6 #define PEGASUS_HAVE_PTHREADS
83              
84              #define PEGASUS_HAVE_NANOSLEEP
85              
86 w.otsuka 1.1 #endif /* Pegasus_Platform_LINUX_X86_64_GNU_h */

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2