A couple of workarounds for Digital Mars.

[SVN r32786]
This commit is contained in:
Daniel James
2006-02-09 19:22:54 +00:00
parent 1ce3be5602
commit 9d41ce0eda
2 changed files with 6 additions and 4 deletions

View File

@@ -9,10 +9,10 @@
#include <boost/config.hpp>
#include <boost/detail/workaround.hpp>
#include <cstddef>
#if (defined(__GLIBCXX__) && defined(_GLIBCXX_DEBUG)) || \
BOOST_WORKAROUND(__BORLANDC__, > 0x551)
#if (defined(__GLIBCXX__) && defined(_GLIBCXX_DEBUG)) \
|| BOOST_WORKAROUND(__BORLANDC__, > 0x551) \
|| BOOST_WORKAROUND(__DMC__, BOOST_TESTED_AT(0x842))
#include <deque>
#include <list>
@@ -25,6 +25,8 @@
#else
#include <cstddef>
#if !defined(__SGI_STL_PORT) && !defined(_STLPORT_VERSION) && \
defined(__STL_CONFIG_H)

View File

@@ -20,7 +20,7 @@
#include <boost/assert.hpp>
#include <errno.h>
#if defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
#if (defined(_WIN32) || defined(__WIN32__) || defined(WIN32)) && !defined(__DMC__)
# define BOOST_HASH_USE_FPCLASS
#elif (defined(__GLIBCPP__) || defined(__GLIBCXX__)) \
&& (defined(__USE_ISOC99) || defined(_GLIBCXX_USE_C99_MATH))