Boost logo

Boost-Commit :

From: hartmut.kaiser_at_[hidden]
Date: 2008-04-20 09:33:53


Author: hkaiser
Date: 2008-04-20 09:33:53 EDT (Sun, 20 Apr 2008)
New Revision: 44627
URL: http://svn.boost.org/trac/boost/changeset/44627

Log:
Spirit.Lex: Added another workaround for wchar.h
Text files modified:
   trunk/boost/spirit/home/support/detail/lexer/consts.hpp | 5 ++++-
   1 files changed, 4 insertions(+), 1 deletions(-)

Modified: trunk/boost/spirit/home/support/detail/lexer/consts.hpp
==============================================================================
--- trunk/boost/spirit/home/support/detail/lexer/consts.hpp (original)
+++ trunk/boost/spirit/home/support/detail/lexer/consts.hpp 2008-04-20 09:33:53 EDT (Sun, 20 Apr 2008)
@@ -6,8 +6,11 @@
 #ifndef BOOST_LEXER_CONSTS_H
 #define BOOST_LEXER_CONSTS_H
 
-#include "size_t.hpp"
+#include <boost/config.hpp>
+#if !defined(BOOST_NO_INTRINSIC_WCHAR_T) && (!defined(BOOST_NO_CWCHAR) || defined(sun) || defined(__sun))
 #include <wchar.h>
+#endif
+#include <boost/spirit/home/support/detail/lexer/size_t.hpp>
 
 namespace boost
 {


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk