(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.18 and 1.19

version 1.18, 2004/10/17 20:39:17 version 1.19, 2005/01/18 15:42:08
Line 51 
Line 51 
  
 #include <cstddef> #include <cstddef>
  
   #include <stdarg.h>
   #include <stdio.h>
   
 #define PEGASUS_OS_TYPE_UNIX #define PEGASUS_OS_TYPE_UNIX
  
 #define PEGASUS_OS_ZOS #define PEGASUS_OS_ZOS
Line 83 
Line 86 
 #define PEGASUS_MAXHOSTNAMELEN  256 #define PEGASUS_MAXHOSTNAMELEN  256
  
 #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)
   
   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 /* Pegasus_Platform_ZOS_ZSERIES_IBM_h */ #endif /* Pegasus_Platform_ZOS_ZSERIES_IBM_h */


Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2