version 1.61, 2006/01/30 16:16:48
|
version 1.66, 2006/11/17 18:32:41
|
|
|
# include <Pegasus/Common/Platform_SOLARIS_SPARC_CC.h> | # 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) |
|
# 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 (PEGASUS_PLATFORM_LINUX_X86_64_GNU) | #elif defined (PEGASUS_PLATFORM_LINUX_X86_64_GNU) |
|
|
#include <cstdlib> | #include <cstdlib> |
#endif | #endif |
| |
// used for Windows only |
#ifndef PEGASUS_IMPORT |
|
# define PEGASUS_IMPORT /* empty */ |
|
#endif |
|
|
#ifndef PEGASUS_EXPORT | #ifndef PEGASUS_EXPORT |
#define PEGASUS_EXPORT /* empty */ | #define PEGASUS_EXPORT /* empty */ |
#endif | #endif |
| |
|
/* |
|
**============================================================================== |
|
** |
|
** PEGASUS_HIDDEN_LINKAGE |
|
** |
|
** This macro suppresses the export of a symbol in contexts in which the |
|
** default linkage would have otherwise exported the symbol. Consider the |
|
** following example: |
|
** |
|
** class PEGASUS_COMMON_LINKAGE MyClass |
|
** { |
|
** public: |
|
** |
|
** // Is exported (due to PEGASUS_COMMON_LINKAGE macro). |
|
** void f(); |
|
** |
|
** // Is not exported (despite the PEGASUS_COMMON_LINKAGE macro). |
|
** PEGASUS_HIDDEN_LINKAGE void g(); // not-exported. |
|
** }; |
|
** |
|
** Notes: this macro has an empty expansion on many platforms since this |
|
** feature is compiler specific. |
|
** |
|
**============================================================================== |
|
*/ |
|
#ifndef PEGASUS_HIDDEN_LINKAGE |
|
# define PEGASUS_HIDDEN_LINKAGE /* empty */ |
|
#endif |
|
|
#ifdef PEGASUS_HAVE_NAMESPACES | #ifdef PEGASUS_HAVE_NAMESPACES |
# define PEGASUS_NAMESPACE_BEGIN namespace Pegasus { | # define PEGASUS_NAMESPACE_BEGIN namespace Pegasus { |
# define PEGASUS_NAMESPACE_END } | # define PEGASUS_NAMESPACE_END } |
|
|
#endif | #endif |
| |
#ifndef PEGASUS_MAXHOSTNAMELEN | #ifndef PEGASUS_MAXHOSTNAMELEN |
|
# ifdef _POSIX_HOST_NAME_MAX |
|
# define PEGASUS_MAXHOSTNAMELEN _POSIX_HOST_NAME_MAX |
|
# else |
#define PEGASUS_MAXHOSTNAMELEN MAXHOSTNAMELEN | #define PEGASUS_MAXHOSTNAMELEN MAXHOSTNAMELEN |
#endif | #endif |
|
#endif |
| |
#ifdef __cplusplus | #ifdef __cplusplus |
PEGASUS_NAMESPACE_BEGIN | PEGASUS_NAMESPACE_BEGIN |
|
|
# define PEGASUS_MAX_PRINTABLE_CHAR 127 | # define PEGASUS_MAX_PRINTABLE_CHAR 127 |
#endif | #endif |
| |
// used for zOS only |
|
#ifndef PEGASUS_STATIC_CDECL |
|
#define PEGASUS_STATIC_CDECL |
|
#endif |
|
|
|
#endif /* Pegasus_Config_h */ | #endif /* Pegasus_Config_h */ |