This commit is contained in:
Victor Zverovich 2014-10-05 09:34:46 -07:00
parent 32c5dca733
commit 1e63fc7ca0

View File

@ -377,9 +377,9 @@ void MemoryBuffer<T, SIZE, Allocator>::grow(std::size_t size) {
#ifndef _MSC_VER #ifndef _MSC_VER
// Portable version of signbit. // Portable version of signbit.
inline int getsign(double x) {
// When compiled in C++11 mode signbit is no longer a macro but a function // When compiled in C++11 mode signbit is no longer a macro but a function
// defined in namespace std and the macro is undefined. // defined in namespace std and the macro is undefined.
inline int getsign(double x) {
# ifdef signbit # ifdef signbit
return signbit(x); return signbit(x);
# else # else