version 1.31, 2002/07/23 23:27:57
|
version 1.33, 2002/08/21 20:49:41
|
|
|
// Modified By: Rudy Schuet (rudy.schuet@compaq.com) 11/25/01 | // Modified By: Rudy Schuet (rudy.schuet@compaq.com) 11/25/01 |
// added NSK platform support and PEGASUS_HAVE_NO_STD option | // added NSK platform support and PEGASUS_HAVE_NO_STD option |
// K. Schopmeyer. Added PEGASUS_TEST_EXCEPTION_DECLARATION Feb 27 2002 | // K. Schopmeyer. Added PEGASUS_TEST_EXCEPTION_DECLARATION Feb 27 2002 |
|
// Carol Ann Krug Graves, Hewlett-Packard Company |
|
// (carolann_graves@hp.com) |
// | // |
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
|
|
# include <Pegasus/Common/Platform_NSK_NONSTOP_NMCPLUS.h> | # include <Pegasus/Common/Platform_NSK_NONSTOP_NMCPLUS.h> |
#elif defined (PEGASUS_PLATFORM_LINUX_IA64_GNU) | #elif defined (PEGASUS_PLATFORM_LINUX_IA64_GNU) |
# include <Pegasus/Common/Platform_LINUX_IA64_GNU.h> | # include <Pegasus/Common/Platform_LINUX_IA64_GNU.h> |
|
#elif defined (__OS400__) |
|
# if !defined (PEGASUS_PLATFORM_OS400_ISERIES_IBM) |
|
# define PEGASUS_PLATFORM_OS400_ISERIES_IBM |
|
# endif |
|
# include <Pegasus/Common/Platform_OS400_ISERIES_IBM.h> |
#else | #else |
# error "<Pegasus/Common/Config.h>: Unsupported Platform" | # error "<Pegasus/Common/Config.h>: Unsupported Platform" |
#endif | #endif |
|
|
#include <iostream> | #include <iostream> |
#include <cstdlib> | #include <cstdlib> |
| |
|
// ATTN: This is a temporary hack until the correct linkages are defined |
|
#ifndef PEGASUS_EXPORT |
|
#define PEGASUS_EXPORT /* empty */ |
|
#endif |
| |
#ifdef PEGASUS_HAVE_NAMESPACES | #ifdef PEGASUS_HAVE_NAMESPACES |
# define PEGASUS_NAMESPACE_BEGIN namespace Pegasus { | # define PEGASUS_NAMESPACE_BEGIN namespace Pegasus { |
|
|
# define PEGASUS_TEMPLATE_SPECIALIZATION | # define PEGASUS_TEMPLATE_SPECIALIZATION |
#endif | #endif |
| |
|
#ifdef PEGASUS_HAVE_IOS_BINARY |
|
#define PEGASUS_IOS_BINARY ,std::ios::binary |
|
#define PEGASUS_OR_IOS_BINARY | std::ios::binary |
|
#else |
|
#define PEGASUS_IOS_BINARY /* empty */ |
|
#define PEGASUS_OR_IOS_BINARY /* empty */ |
|
#endif |
|
|
| |
PEGASUS_NAMESPACE_BEGIN | PEGASUS_NAMESPACE_BEGIN |
| |
#ifdef PEGASUS_HAVE_BOOLEAN |
#ifdef PEGASUS_HAVE_NO_BOOLEAN |
typedef bool Boolean; |
|
#else |
|
# include <Pegasus/Common/Boolean.h> | # include <Pegasus/Common/Boolean.h> |
|
#else |
|
typedef bool Boolean; |
#endif | #endif |
| |
typedef unsigned char Uint8; | typedef unsigned char Uint8; |