(file) Return to Platform_ZOS_ZSERIES_IBM.h CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Common

Diff for /pegasus/src/Pegasus/Common/Platform_ZOS_ZSERIES_IBM.h between version 1.25 and 1.33

version 1.25, 2006/07/17 08:36:52 version 1.33, 2007/06/12 18:15:51
Line 29 
Line 29 
 // //
 //============================================================================== //==============================================================================
 // //
 // 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
Line 42 
Line 37 
 // added for Native ASCII Support // added for Native ASCII Support
 #pragma runopts("FILETAG(AUTOCVT,AUTOTAG)") #pragma runopts("FILETAG(AUTOCVT,AUTOTAG)")
  
 //#define _XOPEN_SOURCE_EXTENDED 1  #include <sched.h>
 //#define _OPEN_SYS 1  // include here to avoid redefinition from below
 #define _MSE_PROTOS  #include <pthread.h>
 #define _OPEN_SOURCE 3  
 // timezone  
 #define _ALL_SOURCE  
 // longlong  
 //#define _LONG_LONG 1  
   
   
 #define _UNIX03_SOURCE  
   
 //#include <limits.h>  
  
 #ifdef __cplusplus #ifdef __cplusplus
 #include <cstddef> #include <cstddef>
 #endif #endif
  
 #include <stdarg.h> #include <stdarg.h>
   
 #define _ISOC99_SOURCE  
 #include <stdio.h> #include <stdio.h>
   // usleep() function in Threads.h
   #include <unistd.h>
  
 #define PEGASUS_OS_TYPE_UNIX #define PEGASUS_OS_TYPE_UNIX
  
Line 79 
Line 64 
  
 #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
Line 109 
Line 83 
  
 #define PEGASUS_HAVE_BROKEN_GLOBAL_CONSTRUCTION #define PEGASUS_HAVE_BROKEN_GLOBAL_CONSTRUCTION
  
   #define PEGASUS_HAVE_PTHREADS
   
   // use the NON-POSIX conform interface version if required
   // to avoid lots of ifdefs for z/OS
   #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 */


Legend:
Removed from v.1.25  
changed lines
  Added in v.1.33

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2