From 41bf6ada0fed388cf0f11c2ca6a4bf0cebc01afe Mon Sep 17 00:00:00 2001 From: jongfoster Date: Tue, 5 Jun 2001 20:04:09 +0000 Subject: [PATCH] Now uses _snprintf() in place of snprintf() under Win32. --- loadcfg.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/loadcfg.c b/loadcfg.c index 4bb99d13..e5b65647 100644 --- a/loadcfg.c +++ b/loadcfg.c @@ -1,4 +1,4 @@ -const char loadcfg_rcs[] = "$Id: loadcfg.c,v 1.10 2001/06/03 19:11:54 oes Exp $"; +const char loadcfg_rcs[] = "$Id: loadcfg.c,v 1.11 2001/06/04 18:31:58 swa Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/loadcfg.c,v $ @@ -35,6 +35,11 @@ const char loadcfg_rcs[] = "$Id: loadcfg.c,v 1.10 2001/06/03 19:11:54 oes Exp $" * * Revisions : * $Log: loadcfg.c,v $ + * Revision 1.11 2001/06/04 18:31:58 swa + * files are now prefixed with either `confdir' or `logdir'. + * `make redhat-dist' replaces both entries confdir and logdir + * with redhat values + * * Revision 1.10 2001/06/03 19:11:54 oes * introduced confdir option * @@ -227,6 +232,9 @@ const char loadcfg_rcs[] = "$Id: loadcfg.c,v 1.10 2001/06/03 19:11:54 oes Exp $" # include "w32log.h" # endif /* ndef _WIN_CONSOLE */ +/* VC++ has "_snprintf", not "snprintf" */ +#define snprintf _snprintf + #else /* ifndef _WIN32 */ # include -- 2.39.2