version 1.27, 2006/08/22 17:33:17
|
version 1.33.6.1, 2007/09/11 16:32:43
|
|
|
// | // |
//============================================================================== | //============================================================================== |
// | // |
// 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 |
| |
#define PEGASUS_HAVE_INTERNAL_INLINES |
|
|
|
// removed as Pegasus will work with Native ASCII support on zOS |
|
// #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 |
|
|
| |
#define PEGASUS_HAVE_PTHREADS | #define PEGASUS_HAVE_PTHREADS |
| |
|
#define PEGASUS_HAVE_RECURSIVE_MUTEXES |
|
|
// use the NON-POSIX conform interface version if required | // use the NON-POSIX conform interface version if required |
// 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 | // use my own snprintf implementation using sprintf mapping |
// until the Java SDK is fixed to work with _ISOC99_SOURCE | // until the Java SDK is fixed to work with _ISOC99_SOURCE |
inline int snprintf(char *sptr, size_t len, const char* form, ...) | inline int snprintf(char *sptr, size_t len, const char* form, ...) |
|
|
va_end(arguments); | va_end(arguments); |
return returnvalue; | return returnvalue; |
} | } |
|
#endif |
| |
#endif /* Pegasus_Platform_ZOS_ZSERIES_IBM_h */ | #endif /* Pegasus_Platform_ZOS_ZSERIES_IBM_h */ |