hack to let boost know if limit exists or not

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2082 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Lars Gullik Bjønnes 2001-06-01 12:47:25 +00:00
parent f3703f6f45
commit 72224034c3
3 changed files with 8 additions and 1 deletions

View File

@ -4,6 +4,8 @@
* boost/static_assert.hpp: update
* boost/smart_ptr.hpp: update
* boost/config.hpp: update
(BOOST_NO_LIMITS): add a hack so that we can continue to use
lyxstring.
* boost/detail/limits.hpp: new file
* boost/limits.hpp: new file

View File

@ -265,6 +265,11 @@
# define BOOST_NO_SLIST
# define BOOST_NO_HASH
# endif
// LYX: begin
# ifndef HAVE_LIMITS
# define BOOST_NO_LIMITS
# endif
// LYX: end
# endif
// Intel on Linux ---------------------------------------------------------

View File

@ -93,7 +93,7 @@ LYX_CXX_GLOBAL_CSTD
LYX_STD_COUNT
dnl we disable rtti for now
dnl LYX_CXX_RTTI
AC_CHECK_HEADERS(ostream istream sstream locale)
AC_CHECK_HEADERS(ostream istream sstream locale limits)
LYX_CXX_STL_MODERN_STREAMS
### We need a regex implementation, so we provide our own if none is found.