version 1.41.4.1, 2003/07/29 15:08:29
|
version 1.47, 2004/05/13 13:17:52
|
|
|
//%///////////////////////////////////////////////////////////////////////////// |
//%2003//////////////////////////////////////////////////////////////////////// |
// | // |
// Copyright (c) 2000, 2001, 2002 BMC Software, Hewlett-Packard Company, IBM, |
// Copyright (c) 2000, 2001, 2002 BMC Software, Hewlett-Packard Development |
// 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.; |
|
// IBM Corp.; EMC 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 |
|
|
// Carol Ann Krug Graves, Hewlett-Packard Company | // Carol Ann Krug Graves, Hewlett-Packard Company |
// (carolann_graves@hp.com) | // (carolann_graves@hp.com) |
// David Eger (dteger@us.ibm.com) | // David Eger (dteger@us.ibm.com) |
|
// Bapu Patil (bapu_patil@hp.com) |
// | // |
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
|
|
# include <Pegasus/Common/Platform_TRU64_ALPHA_DECCXX.h> | # include <Pegasus/Common/Platform_TRU64_ALPHA_DECCXX.h> |
#elif defined (PEGASUS_PLATFORM_SOLARIS_SPARC_GNU) | #elif defined (PEGASUS_PLATFORM_SOLARIS_SPARC_GNU) |
# include <Pegasus/Common/Platform_SOLARIS_SPARC_GNU.h> | # include <Pegasus/Common/Platform_SOLARIS_SPARC_GNU.h> |
|
#elif defined (PEGASUS_PLATFORM_SOLARIS_SPARC_CC) |
|
# include <Pegasus/Common/Platform_SOLARIS_SPARC_CC.h> |
#elif defined (PEGASUS_PLATFORM_ZOS_ZSERIES_IBM) | #elif defined (PEGASUS_PLATFORM_ZOS_ZSERIES_IBM) |
# include <Pegasus/Common/Platform_ZOS_ZSERIES_IBM.h> | # include <Pegasus/Common/Platform_ZOS_ZSERIES_IBM.h> |
#elif defined (PEGASUS_PLATFORM_NSK_NONSTOP_NMCPLUS) | #elif defined (PEGASUS_PLATFORM_NSK_NONSTOP_NMCPLUS) |
|
|
# define PEGASUS_PLATFORM_OS400_ISERIES_IBM | # define PEGASUS_PLATFORM_OS400_ISERIES_IBM |
# endif | # endif |
# include <Pegasus/Common/Platform_OS400_ISERIES_IBM.h> | # include <Pegasus/Common/Platform_OS400_ISERIES_IBM.h> |
|
#elif defined (PEGASUS_PLATFORM_DARWIN_PPC_GNU) |
|
# include <Pegasus/Common/Platform_DARWIN_PPC_GNU.h> |
#else | #else |
# error "<Pegasus/Common/Config.h>: Unsupported Platform" | # error "<Pegasus/Common/Config.h>: Unsupported Platform" |
#endif | #endif |
|
|
#endif | #endif |
| |
#ifdef PEGASUS_HAVE_IOS_BINARY | #ifdef PEGASUS_HAVE_IOS_BINARY |
|
#if defined(PEGASUS_PLATFORM_OS400_ISERIES_IBM) |
|
#define PEGASUS_IOS_BINARY ,std::ios::binary,PEGASUS_STD(_CCSID_T(1208)) |
|
#else |
#define PEGASUS_IOS_BINARY ,std::ios::binary | #define PEGASUS_IOS_BINARY ,std::ios::binary |
|
#endif |
#define PEGASUS_OR_IOS_BINARY | std::ios::binary | #define PEGASUS_OR_IOS_BINARY | std::ios::binary |
#else | #else |
#define PEGASUS_IOS_BINARY /* empty */ | #define PEGASUS_IOS_BINARY /* empty */ |
|
|
#define PEGASUS_64BIT_CONVERSION_WIDTH "ll" | #define PEGASUS_64BIT_CONVERSION_WIDTH "ll" |
#endif | #endif |
| |
|
#ifndef PEGASUS_MAXHOSTNAMELEN |
|
#define PEGASUS_MAXHOSTNAMELEN MAXHOSTNAMELEN |
|
#endif |
|
|
|
|
PEGASUS_NAMESPACE_BEGIN | PEGASUS_NAMESPACE_BEGIN |
| |
typedef bool Boolean; // If platform w/o bool, add flag and include Boolean.h | typedef bool Boolean; // If platform w/o bool, add flag and include Boolean.h |