fix compilation on some BSD systems (no <wchar.h> header)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH-1_2_X@5442 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2002-10-18 14:15:52 +00:00
parent 26b24702db
commit 99b0a3d98a
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2002-10-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* boost/detail/limits.hpp: do not try to include <cwchar> since
some BSD systems do not have it. We do not really need it, anyway.
2002-07-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* boost/detail/limits.hpp: add support for _POWER (powerpc under AIX)

View File

@ -35,7 +35,11 @@
#include <climits>
#include <cfloat>
#include <cwchar> // for WCHAR_MIN and WCHAR_MAX
// local lyx modification: some systems (older BSD, including Mac OS
// X) do not have wchar.h, so we avoid to include this. AFAICS,
// inspection of the code below show that we do not really need it
// (JMarc)
//#include <cwchar> // for WCHAR_MIN and WCHAR_MAX
#include <boost/config.hpp>
#if defined(__sparc) || defined(__sparc__) || defined(__powerpc__) || defined(__ppc__) || defined(__hppa) || defined(_MIPSEB) || defined(_POWER)