]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - ncurses/term.priv.h
ncurses 6.4 - patch 20240302
[ncurses.git] / ncurses / term.priv.h
index 7b2579c854f783cc486357e13a55ee49c9926e7f..1f436b5f8254fb80a6ba7d598ad6d447ac7a45cb 100644 (file)
@@ -27,7 +27,7 @@
  ****************************************************************************/
 
 /*
- * $Id: term.priv.h,v 1.12 2024/02/24 18:11:38 tom Exp $
+ * $Id: term.priv.h,v 1.13 2024/03/02 20:43:06 tom Exp $
  *
  *     term.priv.h
  *
@@ -73,7 +73,7 @@ extern "C" {
  * If not properly configured to use the system's limits.h, we get gcc's
  * fallback for limits.h which sets MB_LEN_MAX to 1, which is never correct.
  */
-#if defined(MB_LEN_MAX) && (MB_LEN_MAX < 6)
+#if !HAVE_CONSISTENT_MB_LEN_MAX
 #undef MB_LEN_MAX
 #endif