version 1.26, 2006/08/09 21:12:42
|
version 1.32, 2007/06/04 02:30:04
|
|
|
// | // |
//============================================================================== | //============================================================================== |
// | // |
// Author: Markus Mueller (mmueller@de.ibm.com) |
|
// |
|
// Modified By: Carol Ann Krug Graves, Hewlett-Packard Company |
|
// (carolann_graves@hp.com) |
|
// |
|
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
#ifndef Pegasus_Platform_ZOS_ZSERIES_IBM_h | #ifndef Pegasus_Platform_ZOS_ZSERIES_IBM_h |
|
|
| |
#define PEGASUS_HAVE_NAMESPACES | #define PEGASUS_HAVE_NAMESPACES |
| |
#define PEGASUS_HAVE_EXPLICIT |
|
|
|
#define PEGASUS_HAVE_MUTABLE |
|
|
|
#define PEGASUS_HAVE_FOR_SCOPE | #define PEGASUS_HAVE_FOR_SCOPE |
| |
#define PEGASUS_HAVE_TEMPLATE_SPECIALIZATION | #define PEGASUS_HAVE_TEMPLATE_SPECIALIZATION |
|
|
// removed as Pegasus will work with Native ASCII support on zOS | // removed as Pegasus will work with Native ASCII support on zOS |
// #define PEGASUS_HAVE_EBCDIC | // #define PEGASUS_HAVE_EBCDIC |
| |
#define PEGASUS_STATIC_CDECL __cdecl |
|
|
|
#define PEGASUS_HAS_SIGNALS | #define PEGASUS_HAS_SIGNALS |
| |
#define PEGASUS_MAXHOSTNAMELEN 256 | #define PEGASUS_MAXHOSTNAMELEN 256 |
|
|
// to avoid lots of ifdefs for z/OS | // to avoid lots of ifdefs for z/OS |
#define pthread_getspecific(x) pthread_getspecific_d8_np(x); | #define pthread_getspecific(x) pthread_getspecific_d8_np(x); |
| |
|
#ifndef _CMPIR_PROXY_PROVIDER_H_ |
|
// use my own snprintf implementation using sprintf mapping |
|
// until the Java SDK is fixed to work with _ISOC99_SOURCE |
|
inline int snprintf(char *sptr, size_t len, const char* form, ...) |
|
{ |
|
int returnvalue; |
|
va_list arguments; |
|
va_start(arguments, form); |
|
returnvalue = vsprintf(sptr, form, arguments); |
|
va_end(arguments); |
|
return returnvalue; |
|
} |
|
#endif |
|
|
#endif /* Pegasus_Platform_ZOS_ZSERIES_IBM_h */ | #endif /* Pegasus_Platform_ZOS_ZSERIES_IBM_h */ |