-#ifndef _PDCLIB_INT_H
-#define _PDCLIB_INT_H _PDCLIB_INT_H
-#include <_PDCLIB_int.h>
-#endif
-
-/* TODO: Defined to 1 as multibyte characters are not supported yet. */
-#define MB_LEN_MAX 1
+/* MSVC 2010 defines this to 5, which is enough for UTF-8 but might rule out
+ stateful encodings (like ISO/IEC 2022). GCC 5.3 defines this to 16, which
+ is meant to ensure future compatibility. For the same reason, we go along
+ with GCC's definition.
+ http://lists.gnu.org/archive/html/bug-gnulib/2015-05/msg00001.html
+*/
+#define MB_LEN_MAX 16