FreeBSD does not have std::to_string (#1190)
Submitted-by: Willem Jan Withagen <wjw@digiware.nl>
This commit is contained in:
parent
faa7eb3b99
commit
b726bf5961
@ -16,7 +16,7 @@ extern std::vector<std::string> StringSplit(const std::string& arg, char delim);
|
||||
|
||||
template <typename T>
|
||||
inline std::string ToString(T value) {
|
||||
#if !(defined OS_ANDROID) && !(defined CYGWIN)
|
||||
#if !(defined OS_ANDROID) && !(defined CYGWIN) && !(defined OS_FREEBSD)
|
||||
return std::to_string(value);
|
||||
#else
|
||||
// Andorid or cygwin doesn't support all of C++11, std::to_string() being
|
||||
|
Loading…
x
Reference in New Issue
Block a user