diff options
author | Eli Zaretskii <eliz@gnu.org> | 2013-10-18 13:08:12 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2013-10-18 13:08:12 +0300 |
commit | 87e5b64f419c4873e8340dc71d5553949157601c (patch) | |
tree | aed96a751a6f9a8b88a9df0760f8ebfac3b37eee /output.c | |
parent | 70df3c35bf2f0272f5346a57410a31d9d7d0735c (diff) | |
download | gunmake-87e5b64f419c4873e8340dc71d5553949157601c.tar.gz |
Fix the MSVC build on MS-Windows.
output.c (vsnprintf) [_MSC_VER]: Define, instead of defining
snprintf, which isn't used. Reported by Christian Boos
<cboos@edgewall.org>.
NMakefile.template (OBJS): Add load.obj and posixfcn.obj.
($(OUTDIR)/pathstuff.obj): New dependency.
Suggested by Christian Boos <cboos@edgewall.org>.
Diffstat (limited to 'output.c')
-rw-r--r-- | output.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -61,7 +61,7 @@ unsigned int stdio_traced = 0; #endif #ifdef _MSC_VER # define va_copy(_d, _s) ((_d) = (_s)) -# define snprintf msc_vsnprintf +# define vsnprintf msc_vsnprintf static int msc_vsnprintf (char *str, size_t size, const char *format, va_list ap) { |