locale: QNX does not define LC_MEASUREMENTS
Pick-to: 6.2 Change-Id: I01ce03e578173f53639927e70f49e6d9b0d08d20 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
This commit is contained in:
parent
8cc6c7cd6e
commit
3635acd27a
@ -64,7 +64,10 @@ namespace QTestLocaleChange {
|
||||
switch (category) {
|
||||
#define CASE(cat) case cat: return #cat
|
||||
CASE(LC_ALL); CASE(LC_NUMERIC); CASE(LC_TIME); CASE(LC_MONETARY);
|
||||
CASE(LC_MESSAGES); CASE(LC_MEASUREMENT); CASE(LC_COLLATE);
|
||||
CASE(LC_MESSAGES); CASE(LC_COLLATE);
|
||||
#ifndef Q_OS_QNX
|
||||
CASE(LC_MEASUREMENT);
|
||||
#endif
|
||||
#undef CASE
|
||||
// Nothing in our code pays attention to any other LC_*
|
||||
default:
|
||||
|
Loading…
x
Reference in New Issue
Block a user