OSDN Git Service
(root)
/
uclinux-h8
/
uclibc-ng.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d338c96
)
make it build if WCHAR is disabled
author
Peter S. Mazinger
<ps.m@gmx.net>
Mon, 30 Jan 2006 09:39:51 +0000
(09:39 -0000)
committer
Peter S. Mazinger
<ps.m@gmx.net>
Mon, 30 Jan 2006 09:39:51 +0000
(09:39 -0000)
libc/sysdeps/linux/arm/aeabi_mb_cur_max.c
patch
|
blob
|
history
diff --git
a/libc/sysdeps/linux/arm/aeabi_mb_cur_max.c
b/libc/sysdeps/linux/arm/aeabi_mb_cur_max.c
index
f68a3a1
..
937a7ff
100644
(file)
--- a/
libc/sysdeps/linux/arm/aeabi_mb_cur_max.c
+++ b/
libc/sysdeps/linux/arm/aeabi_mb_cur_max.c
@@
-20,10
+20,16
@@
#include <locale.h>
#include <stdlib.h>
+#ifdef __UCLIBC_HAS_WCHAR__
libc_hidden_proto(_stdlib_mb_cur_max)
+#endif
int
__aeabi_MB_CUR_MAX (void)
{
+#ifdef __UCLIBC_HAS_WCHAR__
return MB_CUR_MAX;
+#else
+ return 1;
+#endif
}