diff --git a/test/test_wrappers.cpp b/test/test_wrappers.cpp index c106bc9f1..3247540a4 100644 --- a/test/test_wrappers.cpp +++ b/test/test_wrappers.cpp @@ -27,8 +27,8 @@ #include "stopwatch.hpp" #include -#ifdef __CYGWIN__ -// std::to_string is missing on Cygwin +#if defined(__CYGWIN__) || defined(__FreeBSD__) +// std::to_string is missing on Cygwin and FreeBSD // see http://stackoverflow.com/questions/22571838/gcc-4-8-1-stdto-string-error # undef ENABLE_STD_TO_STRING #else