version 1.4, 2004/06/08 00:22:08
|
version 1.23, 2008/11/26 08:06:39
|
|
|
//%2003//////////////////////////////////////////////////////////////////////// |
//%2006//////////////////////////////////////////////////////////////////////// |
// | // |
// Copyright (c) 2000, 2001, 2002 BMC Software, Hewlett-Packard Development |
// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development |
// Company, L. P., IBM Corp., The Open Group, Tivoli Systems. |
// Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems. |
// Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L. P.; | // Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L. P.; |
// IBM Corp.; EMC Corporation, The Open Group. | // 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 |
|
|
// | // |
//============================================================================== | //============================================================================== |
// | // |
// Copied from Pegasus_Platform_LINUX_PPC_GNU |
|
// |
|
// Author: Lynn Moss (lynnmoss@us.ibm.com) |
|
// |
|
// Modified By: |
|
// Bapu Patil (bapu_patil@hp.com) |
|
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
#ifndef Pegasus_Platform_LINUX_ZSERIES_GNU_h | #ifndef Pegasus_Platform_LINUX_ZSERIES_GNU_h |
#define Pegasus_Platform_LINUX_ZSERIES_GNU_h | #define Pegasus_Platform_LINUX_ZSERIES_GNU_h |
| |
|
#ifdef __cplusplus |
#include <cstddef> | #include <cstddef> |
|
#endif |
| |
#define PEGASUS_OS_TYPE_UNIX | #define PEGASUS_OS_TYPE_UNIX |
| |
|
|
| |
#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 |
| |
#ifndef _GNU_SOURCE | #ifndef _GNU_SOURCE |
#define _GNU_SOURCE | #define _GNU_SOURCE |
|
|
#include <stdio.h> | #include <stdio.h> |
#include <stdlib.h> | #include <stdlib.h> |
#include <sys/param.h> // For MAXHOSTNAMELEN | #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_ZSERIES_GNU_h */ | #endif /* Pegasus_Platform_LINUX_ZSERIES_GNU_h */ |