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
|
/// Reusable default charset locale
|
||||||
///
|
///
|
||||||
const inline locale locale_default(create_locale(LC_ALL,
|
const inline locale locale_default(
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
#ifdef _CONSOLE
|
#ifdef _CONSOLE
|
||||||
".OCP"
|
create_locale(LC_ALL, ".OCP")
|
||||||
#else
|
#else
|
||||||
".ACP"
|
create_locale(LC_ALL, ".ACP")
|
||||||
#endif
|
#endif
|
||||||
#else
|
#else
|
||||||
""
|
nullptr
|
||||||
#endif
|
#endif
|
||||||
));
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user