-/*
- * getcwidth - Get the OS's idea of the width of Unicode codepoints
+/* getcwidth - Get the OS's idea of the width of Unicode codepoints
*
* This code is Copyright (c) 2013, by the authors of nmh. See the
* COPYRIGHT file in the root directory of the nmh distribution for
static unicode_range range[] = {
/* https://en.wikipedia.org/wiki/Unicode#Code_point_planes_and_blocks */
{ L'\x0000', L'\xff' },
-#if __WCHAR_MAX__ >= 0xffff
+#if WCHAR_MAX >= 0xffff
{ L'\x0100', L'\xffff' },
-#if __WCHAR_MAX__ >= 0xfffff
+#if WCHAR_MAX >= 0xfffff
{ L'\x10000', L'\x14fff' },
{ L'\x16000', L'\x18fff' },
{ L'\x1b000', L'\x1bfff' },