mirror of
https://github.com/boostorg/functional.git
synced 2025-08-02 22:14:28 +02:00
Change the hash float config for Rogue Wave so that it only applies to Borland,
as it seems to be wrong on SunPro. [SVN r28029]
This commit is contained in:
@@ -12,8 +12,8 @@
|
|||||||
|
|
||||||
// The C++ standard requires that the C float functions are overloarded
|
// The C++ standard requires that the C float functions are overloarded
|
||||||
// for float, double and long double in the std namespace, but some of the older
|
// for float, double and long double in the std namespace, but some of the older
|
||||||
// library implementations don't support this. Some that don't supply the C99
|
// library implementations don't support this. On some that don't, the C99
|
||||||
// float functions (frexpf, frexpl, etc.) so those are used instead.
|
// float functions (frexpf, frexpl, etc.) are available.
|
||||||
|
|
||||||
// This is just based on the compilers I've got access to, but it should
|
// This is just based on the compilers I've got access to, but it should
|
||||||
// do something sensible on most compilers.
|
// do something sensible on most compilers.
|
||||||
@@ -24,7 +24,7 @@
|
|||||||
# else
|
# else
|
||||||
# define BOOST_HASH_USE_OVERLOAD_FLOAT_FUNCS
|
# define BOOST_HASH_USE_OVERLOAD_FLOAT_FUNCS
|
||||||
# endif
|
# endif
|
||||||
#elif defined(_RWSTD_VER)
|
#elif defined(_RWSTD_VER) && defined(__BORLANDC__)
|
||||||
# define BOOST_HASH_USE_C99_FLOAT_FUNCS
|
# define BOOST_HASH_USE_C99_FLOAT_FUNCS
|
||||||
# define BOOST_HASH_C99_NO_FLOAT_FUNCS
|
# define BOOST_HASH_C99_NO_FLOAT_FUNCS
|
||||||
#elif defined(__GLIBCPP__) || defined(__GLIBCXX__)
|
#elif defined(__GLIBCPP__) || defined(__GLIBCXX__)
|
||||||
|
Reference in New Issue
Block a user