version 1.70, 2007/05/29 17:21:06
|
version 1.71, 2007/06/04 02:30:04
|
|
|
#endif | #endif |
| |
#ifdef PEGASUS_HAVE_NAMESPACES | #ifdef PEGASUS_HAVE_NAMESPACES |
|
#ifdef __cplusplus |
# define PEGASUS_NAMESPACE_BEGIN namespace Pegasus { | # define PEGASUS_NAMESPACE_BEGIN namespace Pegasus { |
# define PEGASUS_NAMESPACE_END } | # define PEGASUS_NAMESPACE_END } |
# define PEGASUS_NAMESPACE(X) Pegasus::X | # define PEGASUS_NAMESPACE(X) Pegasus::X |
|
|
# define PEGASUS_USING_STD | # define PEGASUS_USING_STD |
# define PEGASUS_USING_PEGASUS | # define PEGASUS_USING_PEGASUS |
#endif | #endif |
|
#else |
|
# define PEGASUS_NAMESPACE_BEGIN /* empty */ |
|
# define PEGASUS_NAMESPACE_END /* empty */ |
|
# define PEGASUS_NAMESPACE(X) X |
|
# define PEGASUS_STD(X) X |
|
# define PEGASUS_USING_STD |
|
# define PEGASUS_USING_PEGASUS |
|
#endif |
|
|
|
#ifdef PEGASUS_HAVE_EXPLICIT |
|
#ifdef __cplusplus |
|
# define PEGASUS_EXPLICIT explicit |
|
#else |
|
# define PEGASUS_EXPLICIT /* empty */ |
|
#endif |
|
#else |
|
# define PEGASUS_EXPLICIT /* empty */ |
|
#endif |
|
|
|
#ifdef PEGASUS_HAVE_MUTABLE |
|
#ifdef __cplusplus |
|
# define PEGASUS_MUTABLE mutable |
|
#else |
|
# define PEGASUS_MUTABLE /* empty */ |
|
#endif |
|
#else |
|
# define PEGASUS_MUTABLE /* empty */ |
|
#endif |
| |
#ifndef PEGASUS_HAVE_FOR_SCOPE | #ifndef PEGASUS_HAVE_FOR_SCOPE |
# define for if (0) ; else for | # define for if (0) ; else for |
#endif | #endif |
| |
#ifdef PEGASUS_HAVE_TEMPLATE_SPECIALIZATION | #ifdef PEGASUS_HAVE_TEMPLATE_SPECIALIZATION |
|
#ifdef __cplusplus |
# define PEGASUS_TEMPLATE_SPECIALIZATION template <> | # define PEGASUS_TEMPLATE_SPECIALIZATION template <> |
#else | #else |
# define PEGASUS_TEMPLATE_SPECIALIZATION | # define PEGASUS_TEMPLATE_SPECIALIZATION |
#endif | #endif |
|
#else |
|
# define PEGASUS_TEMPLATE_SPECIALIZATION |
|
#endif |
| |
#ifdef PEGASUS_HAVE_IOS_BINARY | #ifdef PEGASUS_HAVE_IOS_BINARY |
|
#ifdef __cplusplus |
#if defined(PEGASUS_PLATFORM_OS400_ISERIES_IBM) | #if defined(PEGASUS_PLATFORM_OS400_ISERIES_IBM) |
#define PEGASUS_IOS_BINARY ,std::ios::binary,PEGASUS_STD(_CCSID_T(1208)) | #define PEGASUS_IOS_BINARY ,std::ios::binary,PEGASUS_STD(_CCSID_T(1208)) |
#else | #else |
|
|
#define PEGASUS_IOS_BINARY /* empty */ | #define PEGASUS_IOS_BINARY /* empty */ |
#define PEGASUS_OR_IOS_BINARY /* empty */ | #define PEGASUS_OR_IOS_BINARY /* empty */ |
#endif | #endif |
|
#else |
|
#define PEGASUS_IOS_BINARY /* empty */ |
|
#define PEGASUS_OR_IOS_BINARY /* empty */ |
|
#endif |
| |
#ifndef PEGASUS_SINT64_LITERAL | #ifndef PEGASUS_SINT64_LITERAL |
#define PEGASUS_SINT64_LITERAL(X) (Sint64 (X##LL)) | #define PEGASUS_SINT64_LITERAL(X) (Sint64 (X##LL)) |