summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1997-12-24 21:05:48 +0000
committerUlrich Drepper <drepper@redhat.com>1997-12-24 21:05:48 +0000
commitb1aa8394ef6618a8aecfd1675bae35597c057f0e (patch)
tree70702d26ec575b94964c5222b88110d291c0101b
parent3c37f45c06afe170cf1c3b68d4145cb023386c54 (diff)
Always define MB_LEN_MAX.
-rw-r--r--limits.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/limits.h b/limits.h
index c7b1278638..9c0071a528 100644
--- a/limits.h
+++ b/limits.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1992, 1996 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1992, 1996, 1997 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -43,6 +43,12 @@
#define _LIBC_LIMITS_H_ /* This tells it not to look for another. */
#endif
#ifndef _GCC_LIMITS_H_ /* This is what GCC's file defines. */
+
+ /* Maximum length of any multibyte character in any locale. We
+ define this here to prevent the value from the gcc value (which is
+ one) to take effect. */
+ #define MB_LEN_MAX 6
+
#include_next <limits.h>
#endif