From 9281df58d2edd5f4de7ea4a18ab3647a67aa9e21 Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Wed, 14 Jul 2004 08:36:58 +0000 Subject: [PATCH] Include wchar.h so that mbstate_t is available in global namespace. Maybe, I should revert the last patch, which made the file use ::mbstate_t as opposed to std::mbstate_t, but I'm waiting for Pavel to tell why it was necessary to use ::mbstate_t and if this version of borland can be made to work in some other way. [SVN r23528] --- include/boost/program_options/detail/utf8_codecvt_facet.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/boost/program_options/detail/utf8_codecvt_facet.hpp b/include/boost/program_options/detail/utf8_codecvt_facet.hpp index 09a6122..356a5f5 100644 --- a/include/boost/program_options/detail/utf8_codecvt_facet.hpp +++ b/include/boost/program_options/detail/utf8_codecvt_facet.hpp @@ -48,6 +48,8 @@ // specialized on those types for this to work. #include +// for mbstate_t +#include #include