(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.33 and 1.35

version 1.33, 2007/06/12 18:15:51 version 1.35, 2008/05/21 10:44:48
Line 37 
Line 37 
 // added for Native ASCII Support // added for Native ASCII Support
 #pragma runopts("FILETAG(AUTOCVT,AUTOTAG)") #pragma runopts("FILETAG(AUTOCVT,AUTOTAG)")
  
 #include <sched.h>  
 // include here to avoid redefinition from below  
 #include <pthread.h>  
   
 #ifdef __cplusplus  
 #include <cstddef>  
 #endif  
   
 #include <stdarg.h>  
 #include <stdio.h>  
 // usleep() function in Threads.h  
 #include <unistd.h>  
   
 #define PEGASUS_OS_TYPE_UNIX #define PEGASUS_OS_TYPE_UNIX
  
 #define PEGASUS_OS_ZOS #define PEGASUS_OS_ZOS
Line 74 
Line 61 
  
 #define PEGASUS_NO_PASSWORDFILE #define PEGASUS_NO_PASSWORDFILE
  
   
 //#define snprintf(sptr,len,form,data) sprintf(sptr,form,data) //#define snprintf(sptr,len,form,data) sprintf(sptr,form,data)
  
 #define ZOS_SECURITY_NAME "CIMServer Security" #define ZOS_SECURITY_NAME "CIMServer Security"
Line 85 
Line 71 
  
 #define PEGASUS_HAVE_PTHREADS #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.33  
changed lines
  Added in v.1.35

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2