CVS update: /common/util/pub/, /common/runtime/pub/hlxclib/
nhart at helixcommunity.org nhart at helixcommunity.orgUser: nhart Date: 03/01/15 15:22:48 Modified /common/util/pub/ errmsg_macros.h /common/runtime/pub/hlxclib/ stdio.h Log Reviewed by: acolwell in errmsg_macros.h include hlxclib/stdio.h to get our x-platform vsnprintf add _IRIX to conditional in hlxclib/stdio.h to get an irix-compatible vsnprintf (instead of the ugly macro that was in errmsg_macros.h) File Changes: Directory: /common/util/pub/ ============================ File [changed]: errmsg_macros.h Url: https://common.helixcommunity.org/source/browse/common/util/pub/errmsg_macros.h.diff?r1=1.2&r2=1.3 Delta lines: +2 -8 ------------------- --- errmsg_macros.h 18 Dec 2002 19:56:21 -0000 1.2 +++ errmsg_macros.h 15 Jan 2003 23:22:48 -0000 1.3 @@ -29,23 +29,17 @@ * Contributor(s): * * ***** END LICENSE BLOCK ***** */ -// $Id: errmsg_macros.h,v 1.2 2002/12/18 19:56:21 dcollins Exp $ +// $Id: errmsg_macros.h,v 1.3 2003/01/15 23:22:48 nhart Exp $ #ifndef _ERRMSG_MACROS_H_ #define _ERRMSG_MACROS_H_ -#include <stdio.h> +#include "hlxclib/stdio.h" /* for vsnprintf */ #include <stdlib.h> #include <stdarg.h> #include "atomicbase.h" #include "hxcom.h" #include "hxerror.h" -#if defined _WIN32 && !defined vsnprintf -#define vsnprintf _vsnprintf -#endif -#if defined _IRIX -#define vsnprintf(a,b,c,d) vsprintf((a),(c),(d)) -#endif inline void Directory: /common/runtime/pub/hlxclib/ ======================================= File [changed]: stdio.h Url: https://common.helixcommunity.org/source/browse/common/runtime/pub/hlxclib/stdio.h.diff?r1=1.1&r2=1.2 Delta lines: +1 -1 ------------------- --- stdio.h 21 Dec 2002 00:17:40 -0000 1.1 +++ stdio.h 15 Jan 2003 23:22:48 -0000 1.2 @@ -44,7 +44,7 @@ /* Make sure vsnprintf is defined for all platforms */ #ifdef _WINDOWS #define vsnprintf _vsnprintf -#elif defined(_SYMBIAN) || defined(_WINCE) +#elif defined(_SYMBIAN) || defined(_WINCE) || defined(_IRIX) #define vsnprintf __helix_vsnprintf #endif --------------------------------------------------------------------- To unsubscribe, e-mail: cvs-unsubscribe at common.helixcommunity.org For additional commands, e-mail: cvs-help at common.helixcommunity.org