summaryrefslogtreecommitdiff
path: root/libc/misc/locale
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2004-09-10 21:30:26 +0000
committerManuel Novoa III <mjn3@codepoet.org>2004-09-10 21:30:26 +0000
commit6d40eadd6c096774eac35cfad0e8b7f15279c217 (patch)
tree0fc974263b332cab92a13a73cb9b145b31b79426 /libc/misc/locale
parentf260d87e73a18e6010b6d57a684edc6247ed97e8 (diff)
Hide some x86-specific devel asserts.
Diffstat (limited to 'libc/misc/locale')
-rw-r--r--libc/misc/locale/locale.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libc/misc/locale/locale.c b/libc/misc/locale/locale.c
index c6a1a2dd0..6e5830733 100644
--- a/libc/misc/locale/locale.c
+++ b/libc/misc/locale/locale.c
@@ -413,9 +413,14 @@ static int init_cur_collate(int der_num, __collate_t *cur_collate)
size_t n;
uint16_t i, w;
+#ifdef __UCLIBC_MJN3_ONLY__
+#warning kill of x86-specific asserts
+#endif
+#if 0
assert(sizeof(coldata_base_t) == 19*2);
assert(sizeof(coldata_der_t) == 4*2);
assert(sizeof(coldata_header_t) == 8*2);
+#endif
if (!der_num) { /* C locale... special */
cur_collate->num_weights = 0;