Skip to content

Commit 1d58178

Browse files
committed
reduced size of default rune table by switching from unsigned long to unsigned short
1 parent c8d75b8 commit 1d58178

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/libcxx/include/__locale

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,11 @@ bool locale::operator()(const basic_string<_CharT, _Traits, _Allocator>& __x,
296296
class _LIBCPP_EXPORTED_FROM_ABI ctype_base {
297297
public:
298298
#if defined(_LIBCPP_PROVIDES_DEFAULT_RUNE_TABLE)
299+
#ifndef _EZ80
299300
typedef unsigned long mask;
301+
#else // _EZ80
302+
typedef unsigned short mask;
303+
#endif // _EZ80
300304
static const mask space = 1 << 0;
301305
static const mask print = 1 << 1;
302306
static const mask cntrl = 1 << 2;

0 commit comments

Comments
 (0)