From: <vac...@us...> - 2008-11-24 02:27:15
|
Revision: 96 http://xmlwrapp.svn.sourceforge.net/xmlwrapp/?rev=96&view=rev Author: vaclavslavik Date: 2008-11-24 02:27:10 +0000 (Mon, 24 Nov 2008) Log Message: ----------- all versions of VC++ lack vsnprintf(), not just VC6 (Vadim Zeitlin) Modified Paths: -------------- trunk/src/libxml/utility.cxx Modified: trunk/src/libxml/utility.cxx =================================================================== --- trunk/src/libxml/utility.cxx 2008-11-16 22:32:04 UTC (rev 95) +++ trunk/src/libxml/utility.cxx 2008-11-24 02:27:10 UTC (rev 96) @@ -36,8 +36,8 @@ #include <cstring> #include <string> -// hack to pull in vsnprintf for MSVC6 -#if (defined(_MSC_VER) && _MSC_VER <= 1200) || (defined(__COMO__) && defined(__WIN32__)) +// hack to pull in vsnprintf for MSVC +#if defined(_MSC_VER) || (defined(__COMO__) && defined(__WIN32__)) # undef vsnprintf # define vsnprintf _vsnprintf #endif This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |