Skip to content

Commit a992226

Browse files
mysterywolfRbb666
authored andcommitted
[libc] uncomment wcwidth for win32
1 parent b23d667 commit a992226

File tree

1 file changed

+6
-6
lines changed
  • components/libc/compilers/common

1 file changed

+6
-6
lines changed

components/libc/compilers/common/cwchar.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -112,12 +112,12 @@ int wcwidth(wchar_t ucs)
112112
(ucs >= 0xf900 && ucs <= 0xfaff) || /* CJK Compatibility Ideographs */
113113
(ucs >= 0xfe30 && ucs <= 0xfe6f) || /* CJK Compatibility Forms */
114114
(ucs >= 0xff00 && ucs <= 0xff5f) || /* Fullwidth Forms */
115-
(ucs >= 0xffe0 && ucs <= 0xffe6) // ||
116-
//#ifndef _WIN32
117-
// (ucs >= 0x20000 && ucs <= 0x2ffff)
118-
//#else
119-
// 0
120-
//#endif
115+
(ucs >= 0xffe0 && ucs <= 0xffe6) ||
116+
#ifndef _WIN32
117+
(ucs >= 0x20000 && ucs <= 0x2ffff)
118+
#else
119+
0
120+
#endif
121121
));
122122
}
123123

0 commit comments

Comments
 (0)