From fecf10173b12bd24ab896c02231f3bcc40665392 Mon Sep 17 00:00:00 2001 From: Soren Jorvang Date: Sat, 22 Jan 2011 03:57:03 +0000 Subject: [PATCH] Use std::locale() on OS X and std::locale("") elsewhere. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6894 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Common/Src/StringUtil.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/Core/Common/Src/StringUtil.h b/Source/Core/Common/Src/StringUtil.h index a48d462b1d..808be553d7 100644 --- a/Source/Core/Common/Src/StringUtil.h +++ b/Source/Core/Common/Src/StringUtil.h @@ -52,7 +52,11 @@ template std::string ThousandSeparate(I value, int spaces = 0) { std::ostringstream oss; +#ifdef __APPLE__ oss.imbue(std::locale()); +#else + oss.imbue(std::locale("")); +#endif oss << std::setw(spaces) << value; return oss.str();