version 1.1, 2002/03/30 00:02:02
|
version 1.34, 2008/11/26 08:06:39
|
|
|
//%///////////////////////////////////////////////////////////////////////////// |
/* |
|
//%2006//////////////////////////////////////////////////////////////////////// |
// | // |
// Copyright (c) 2000, 2001 The Open group, BMC Software, Tivoli Systems, IBM |
// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development |
|
// Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems. |
|
// Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L.P.; |
|
// IBM Corp.; EMC Corporation, The Open Group. |
|
// Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.; |
|
// IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group. |
|
// Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.; |
|
// EMC Corporation; VERITAS Software Corporation; The Open Group. |
|
// Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.; |
|
// EMC Corporation; Symantec Corporation; The Open Group. |
// | // |
// Permission is hereby granted, free of charge, to any person obtaining a copy | // Permission is hereby granted, free of charge, to any person obtaining a copy |
// of this software and associated documentation files (the "Software"), to | // of this software and associated documentation files (the "Software"), to |
|
|
// | // |
//============================================================================== | //============================================================================== |
// | // |
// Author: Mike Brasher (mbrasher@bmc.com) |
|
// |
|
// Modified By: Mike Day (mdday@us.ibm.com) |
|
// |
|
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
|
*/ |
| |
#ifndef Pegasus_Platform_LINUX_IA64_GNU_h | #ifndef Pegasus_Platform_LINUX_IA64_GNU_h |
#define Pegasus_Platform_LINUX_IA64_GNU_h | #define Pegasus_Platform_LINUX_IA64_GNU_h |
| |
#include <Pegasus/Common/ConfigUnix.h> |
#ifdef __cplusplus |
|
# include <cstddef> |
|
#endif |
|
|
|
#define PEGASUS_OS_TYPE_UNIX |
| |
#define PEGASUS_OS_LINUX | #define PEGASUS_OS_LINUX |
| |
#define PEGASUS_ARCHITECTURE_IA64 |
#define PEGASUS_POINTER_64BIT |
| |
#define PEGASUS_COMPILER_GNU | #define PEGASUS_COMPILER_GNU |
| |
|
|
| |
#define PEGASUS_SINT64 long long | #define PEGASUS_SINT64 long long |
| |
#define PEGASUS_LLONG_MAX 9223372036854775807LL |
|
#define PEGASUS_LLONG_MIN (-PEGASUS_LLONG_MAX - 1LL) |
|
|
|
#define PEGASUS_ULLONG_MAX 18446744073709551615ULL |
|
|
|
#define PEGASUS_HAVE_NAMESPACES | #define PEGASUS_HAVE_NAMESPACES |
| |
#define PEGASUS_HAVE_EXPLICIT |
|
|
|
#define PEGASUS_HAVE_MUTABLE |
|
|
|
#define PEGASUS_HAVE_FOR_SCOPE | #define PEGASUS_HAVE_FOR_SCOPE |
| |
// #define PEGASUS_HAVE_TEMPLATE_SPECIALIZATION |
#define PEGASUS_HAVE_TEMPLATE_SPECIALIZATION |
|
|
#define PEGASUS_HAVE_BOOLEAN |
|
| |
// #define PEGASUS_EXPLICIT_INSTANTIATION |
|
#ifndef _GNU_SOURCE | #ifndef _GNU_SOURCE |
#define _GNU_SOURCE | #define _GNU_SOURCE |
#endif | #endif |
|
|
#include <features.h> | #include <features.h> |
#include <stdio.h> | #include <stdio.h> |
#include <stdlib.h> | #include <stdlib.h> |
|
#include <sys/param.h> /* For MAXHOSTNAMELEN */ |
|
#include <limits.h> /* _POSIX_HOST_NAME_MAX */ |
|
|
|
#if (__GNUC__ >= 4) |
|
# define PEGASUS_EXPORT __attribute__ ((visibility("default"))) |
|
# define PEGASUS_IMPORT __attribute__ ((visibility("default"))) |
|
# define PEGASUS_HIDDEN_LINKAGE __attribute__((visibility("hidden"))) |
|
#endif |
|
|
|
#define PEGASUS_HAVE_PTHREADS |
|
|
|
#define PEGASUS_HAVE_NANOSLEEP |
|
|
|
#define PEGASUS_HAS_SIGNALS |
|
|
|
#define PEGASUS_INTEGERS_BOUNDARY_ALIGNED |
|
|
|
/* getifaddrs() avilable in gcc version >= 3.4 */ |
|
#if (__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 4)) |
|
# define PEGASUS_HAS_GETIFADDRS |
|
#endif |
|
|
|
/* use POSIX read-write locks on this platform */ |
|
#define PEGASUS_USE_POSIX_RWLOCK |
|
|
#endif /* Pegasus_Platform_LINUX_IA64_GNU_h */ | #endif /* Pegasus_Platform_LINUX_IA64_GNU_h */ |