projects
/
platform
/
upstream
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fdedb42
)
For libc itself replace MB_CUR_MAX definition with one accessing the locale data...
author
Ulrich Drepper
<drepper@redhat.com>
Mon, 8 Apr 2002 18:26:37 +0000
(18:26 +0000)
committer
Ulrich Drepper
<drepper@redhat.com>
Mon, 8 Apr 2002 18:26:37 +0000
(18:26 +0000)
include/stdlib.h
patch
|
blob
|
history
diff --git
a/include/stdlib.h
b/include/stdlib.h
index
16f7aa2
..
55437d4
100644
(file)
--- a/
include/stdlib.h
+++ b/
include/stdlib.h
@@
-146,6
+146,12
@@
__strtoull_l (__const char * __restrict __nptr, char **__restrict __endptr,
return ____strtoull_l_internal (__nptr, __endptr, __base, 0, __loc);
}
+
+# ifndef NOT_IN_LIBC
+# undef MB_CUR_MAX
+# define MB_CUR_MAX (_NL_CURRENT_WORD (LC_CTYPE, _NL_CTYPE_MB_CUR_MAX))
+# endif
+
#endif
#undef __Need_M_And_C