locale: use nullptr as default locale on non-Windows systems
Signed-off-by: Simon Rozman <simon@rozman.si>
This commit is contained in:
parent
f5f4cbf308
commit
a4ca4df926
@ -100,15 +100,15 @@ namespace stdex
|
||||
///
|
||||
/// Reusable default charset locale
|
||||
///
|
||||
const inline locale locale_default(create_locale(LC_ALL,
|
||||
const inline locale locale_default(
|
||||
#ifdef WIN32
|
||||
#ifdef _CONSOLE
|
||||
".OCP"
|
||||
create_locale(LC_ALL, ".OCP")
|
||||
#else
|
||||
".ACP"
|
||||
create_locale(LC_ALL, ".ACP")
|
||||
#endif
|
||||
#else
|
||||
""
|
||||
nullptr
|
||||
#endif
|
||||
));
|
||||
);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user