diff --git a/mxml-string.c b/mxml-string.c index 449a145..6dedcdc 100644 --- a/mxml-string.c +++ b/mxml-string.c @@ -517,8 +517,10 @@ _mxml_vstrdupf(const char *format, /* I - Printf-style format string */ #else int bytes; /* Number of bytes required */ - char *buffer, /* String buffer */ - temp[256]; /* Small buffer for first vsnprintf */ + char *buffer; /* String buffer */ +# ifndef _WIN32 + char temp[256]; /* Small buffer for first vsnprintf */ +# endif /* !_WIN32 */ /* diff --git a/vcnet/config.h b/vcnet/config.h index 2b96ee7..610ba38 100644 --- a/vcnet/config.h +++ b/vcnet/config.h @@ -2,7 +2,7 @@ * Visual Studio configuration file for Mini-XML, a small XML file parsing * library. * - * Copyright 2003-2020 by Michael R Sweet. + * Copyright 2003-2021 by Michael R Sweet. * * These coded instructions, statements, and computer programs are the * property of Michael R Sweet and are protected by Federal copyright @@ -63,7 +63,7 @@ * Version number... */ -#define MXML_VERSION "Mini-XML v3.2" +#define MXML_VERSION "Mini-XML v3.2.1" /* diff --git a/vcnet/mxml.sln b/vcnet/mxml.sln index 83bffcc..29f94bf 100644 --- a/vcnet/mxml.sln +++ b/vcnet/mxml.sln @@ -1,14 +1,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 -VisualStudioVersion = 15.0.28010.2036 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.30204.135 MinimumVisualStudioVersion = 10.0.40219.1 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mxml1", "mxml1.vcxproj", "{E5AA9476-9751-4654-8109-B1A2112D5E73}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mxmldoc", "mxmldoc.vcxproj", "{D909892E-520A-4322-9A47-DAEBDA9CC7A7}" - ProjectSection(ProjectDependencies) = postProject - {E5AA9476-9751-4654-8109-B1A2112D5E73} = {E5AA9476-9751-4654-8109-B1A2112D5E73} - EndProjectSection -EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testmxml", "testmxml.vcxproj", "{75CAC6C4-A6BC-4935-A3C9-8F0AE0744227}" ProjectSection(ProjectDependencies) = postProject {CDEEBB3C-D45B-4CC5-BE9B-0BD415A27958} = {CDEEBB3C-D45B-4CC5-BE9B-0BD415A27958} @@ -32,14 +27,6 @@ Global {E5AA9476-9751-4654-8109-B1A2112D5E73}.Release|Win32.Build.0 = Debug|Win32 {E5AA9476-9751-4654-8109-B1A2112D5E73}.Release|x64.ActiveCfg = Debug|Win32 {E5AA9476-9751-4654-8109-B1A2112D5E73}.Release|x64.Build.0 = Debug|Win32 - {D909892E-520A-4322-9A47-DAEBDA9CC7A7}.Debug|Win32.ActiveCfg = Debug|Win32 - {D909892E-520A-4322-9A47-DAEBDA9CC7A7}.Debug|Win32.Build.0 = Debug|Win32 - {D909892E-520A-4322-9A47-DAEBDA9CC7A7}.Debug|x64.ActiveCfg = Debug|Win32 - {D909892E-520A-4322-9A47-DAEBDA9CC7A7}.Debug|x64.Build.0 = Debug|Win32 - {D909892E-520A-4322-9A47-DAEBDA9CC7A7}.Release|Win32.ActiveCfg = Debug|Win32 - {D909892E-520A-4322-9A47-DAEBDA9CC7A7}.Release|Win32.Build.0 = Debug|Win32 - {D909892E-520A-4322-9A47-DAEBDA9CC7A7}.Release|x64.ActiveCfg = Debug|Win32 - {D909892E-520A-4322-9A47-DAEBDA9CC7A7}.Release|x64.Build.0 = Debug|Win32 {75CAC6C4-A6BC-4935-A3C9-8F0AE0744227}.Debug|Win32.ActiveCfg = Debug|Win32 {75CAC6C4-A6BC-4935-A3C9-8F0AE0744227}.Debug|Win32.Build.0 = Debug|Win32 {75CAC6C4-A6BC-4935-A3C9-8F0AE0744227}.Debug|x64.ActiveCfg = Debug|Win32 diff --git a/vcnet/mxml1.vcxproj b/vcnet/mxml1.vcxproj index b43ae3d..9b86f88 100644 --- a/vcnet/mxml1.vcxproj +++ b/vcnet/mxml1.vcxproj @@ -21,27 +21,27 @@ {E5AA9476-9751-4654-8109-B1A2112D5E73} Win32Proj - 8.1 + 10.0 DynamicLibrary - v141 + v142 MultiByte DynamicLibrary - v141 + v142 MultiByte DynamicLibrary - v141 + v142 MultiByte DynamicLibrary - v141 + v142 MultiByte diff --git a/vcnet/mxmlstat.vcxproj b/vcnet/mxmlstat.vcxproj index 7cb7309..d718eec 100644 --- a/vcnet/mxmlstat.vcxproj +++ b/vcnet/mxmlstat.vcxproj @@ -39,32 +39,32 @@ {CDEEBB3C-D45B-4CC5-BE9B-0BD415A27958} Win32Proj mxmlstat - 8.1 + 10.0 StaticLibrary true - v141 + v142 Unicode StaticLibrary false - v141 + v142 true Unicode StaticLibrary true - v141 + v142 Unicode StaticLibrary false - v141 + v142 true Unicode diff --git a/vcnet/testmxml.vcxproj b/vcnet/testmxml.vcxproj index 1f3eba5..6d3d779 100644 --- a/vcnet/testmxml.vcxproj +++ b/vcnet/testmxml.vcxproj @@ -21,27 +21,27 @@ {75CAC6C4-A6BC-4935-A3C9-8F0AE0744227} Win32Proj - 8.1 + 10.0 Application - v141 + v142 MultiByte Application - v141 + v142 MultiByte Application - v141 + v142 MultiByte Application - v141 + v142 MultiByte