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
// Portable version of signbit.
// When compiled in C++11 mode signbit is no longer a macro but a function
// defined in namespace std and the macro is undefined.
inline int getsign(double x) {
// When compiled in C++11 mode signbit is no longer a macro but a function
// defined in namespace std and the macro is undefined.
# ifdef signbit
return signbit(x);
# else