version 1.43, 2003/08/06 14:43:36
|
version 1.54, 2005/02/06 21:13:14
|
|
|
//%///////////////////////////////////////////////////////////////////////////// |
//%2005//////////////////////////////////////////////////////////////////////// |
// | // |
// 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. |
|
// 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. |
// | // |
// 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: Rudy Schuet (rudy.schuet@compaq.com) 11/25/01 |
|
// K. Schopmeyer |
|
// Carol Ann Krug Graves, Hewlett-Packard Company |
|
// (carolann_graves@hp.com) |
|
// David Eger (dteger@us.ibm.com) |
|
// |
|
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
#ifndef Pegasus_Config_h | #ifndef Pegasus_Config_h |
|
|
# 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> |
|
#elif defined (PEGASUS_PLATFORM_VMS_ALPHA_DECCXX) |
|
# include <Pegasus/Common/Platform_VMS_ALPHA_DECCXX.h> |
|
#elif defined (PEGASUS_PLATFORM_VMS_IA64_DECCXX) |
|
# include <Pegasus/Common/Platform_VMS_IA64_DECCXX.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 |
typedef unsigned char Uint8; | typedef unsigned char Uint8; |
typedef char Sint8; |
typedef signed char Sint8; |
typedef unsigned short Uint16; | typedef unsigned short Uint16; |
typedef short Sint16; |
typedef signed short Sint16; |
typedef unsigned int Uint32; | typedef unsigned int Uint32; |
typedef int Sint32; |
typedef signed int Sint32; |
typedef float Real32; | typedef float Real32; |
typedef double Real64; | typedef double Real64; |
typedef PEGASUS_UINT64 Uint64; | typedef PEGASUS_UINT64 Uint64; |