version 1.63, 2006/08/16 19:31:25
|
version 1.68.4.1, 2007/03/23 21:53:51
|
|
|
|
/* |
//%2006//////////////////////////////////////////////////////////////////////// | //%2006//////////////////////////////////////////////////////////////////////// |
// | // |
// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development | // Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development |
|
|
//============================================================================== | //============================================================================== |
// | // |
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
|
*/ |
| |
#ifndef Pegasus_Config_h | #ifndef Pegasus_Config_h |
#define Pegasus_Config_h | #define Pegasus_Config_h |
| |
#if defined(PEGASUS_PLATFORM_WIN32_IX86_MSVC) | #if defined(PEGASUS_PLATFORM_WIN32_IX86_MSVC) |
# include <Pegasus/Common/Platform_WIN32_IX86_MSVC.h> | # include <Pegasus/Common/Platform_WIN32_IX86_MSVC.h> |
|
#elif defined(PEGASUS_PLATFORM_WIN64_IA64_MSVC) |
|
# include <Pegasus/Common/Platform_WIN64_IA64_MSVC.h> |
|
#elif defined(PEGASUS_PLATFORM_WIN64_X86_64_MSVC) |
|
# include <Pegasus/Common/Platform_WIN64_X86_64_MSVC.h> |
#elif defined (PEGASUS_PLATFORM_LINUX_IX86_GNU) | #elif defined (PEGASUS_PLATFORM_LINUX_IX86_GNU) |
# include <Pegasus/Common/Platform_LINUX_IX86_GNU.h> | # include <Pegasus/Common/Platform_LINUX_IX86_GNU.h> |
#elif defined (PEGASUS_PLATFORM_LINUX_XSCALE_GNU) | #elif defined (PEGASUS_PLATFORM_LINUX_XSCALE_GNU) |
|
|
# include <Pegasus/Common/Platform_OS400_ISERIES_IBM.h> | # include <Pegasus/Common/Platform_OS400_ISERIES_IBM.h> |
#elif defined (PEGASUS_PLATFORM_DARWIN_PPC_GNU) | #elif defined (PEGASUS_PLATFORM_DARWIN_PPC_GNU) |
# include <Pegasus/Common/Platform_DARWIN_PPC_GNU.h> | # include <Pegasus/Common/Platform_DARWIN_PPC_GNU.h> |
|
#elif defined (PEGASUS_PLATFORM_DARWIN_IX86_GNU) |
|
# include <Pegasus/Common/Platform_DARWIN_IX86_GNU.h> |
#elif defined (PEGASUS_PLATFORM_VMS_ALPHA_DECCXX) | #elif defined (PEGASUS_PLATFORM_VMS_ALPHA_DECCXX) |
# include <Pegasus/Common/Platform_VMS_ALPHA_DECCXX.h> | # include <Pegasus/Common/Platform_VMS_ALPHA_DECCXX.h> |
#elif defined (PEGASUS_PLATFORM_VMS_IA64_DECCXX) | #elif defined (PEGASUS_PLATFORM_VMS_IA64_DECCXX) |
|
|
| |
| |
| |
|
/* |
//<<< Sun Apr 6 19:28:00 2003 mdd >>> | //<<< Sun Apr 6 19:28:00 2003 mdd >>> |
// | // |
// COMPILER Checks | // COMPILER Checks |
|
|
// This is to allow a check for GCC > 3.2 | // This is to allow a check for GCC > 3.2 |
// It needs to be the first thing we check because the next lines load | // It needs to be the first thing we check because the next lines load |
// further source files | // further source files |
|
*/ |
| |
#if defined(__GNUC__) | #if defined(__GNUC__) |
#define GCC_VERSION (__GNUC__ * 10000 \ | #define GCC_VERSION (__GNUC__ * 10000 \ |
+ __GNUC_MINOR__ * 100 \ | + __GNUC_MINOR__ * 100 \ |
+ __GNUC_PATCHLEVEL__) | + __GNUC_PATCHLEVEL__) |
| |
|
/* |
// To test for GCC > 3.2.0: | // To test for GCC > 3.2.0: |
// #if GCC_VERSION > 30200 | // #if GCC_VERSION > 30200 |
|
*/ |
| |
#endif | #endif |
| |
|
|
#define PEGASUS_UINT64_LITERAL(X) (Uint64 (X##ULL)) | #define PEGASUS_UINT64_LITERAL(X) (Uint64 (X##ULL)) |
#endif | #endif |
| |
// Used in printf and scanf conversion strings for Uint64 and Sint64 arguments |
/* Used in printf and scanf conversion strings for Uint64 and Sint64 args */ |
#ifndef PEGASUS_64BIT_CONVERSION_WIDTH | #ifndef PEGASUS_64BIT_CONVERSION_WIDTH |
#define PEGASUS_64BIT_CONVERSION_WIDTH "ll" | #define PEGASUS_64BIT_CONVERSION_WIDTH "ll" |
#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 */ |