From 96a4928454fb7a8361a0b33940006ff491506f4d Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 10 Oct 2009 12:44:02 -0400 Subject: drop __BCC__ cruft from string code Signed-off-by: Mike Frysinger --- libc/string/strncat.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'libc/string/strncat.c') diff --git a/libc/string/strncat.c b/libc/string/strncat.c index cbbb0c540..0fa9b4ae1 100644 --- a/libc/string/strncat.c +++ b/libc/string/strncat.c @@ -20,14 +20,10 @@ Wchar *Wstrncat(Wchar * __restrict s1, register const Wchar * __restrict s2, while (*s++); --s; -#ifdef __BCC__ - while (n-- && ((*s = *s2++) != 0)) ++s; -#else while (n && ((*s = *s2++) != 0)) { --n; ++s; } -#endif *s = 0; return s1; -- cgit v1.2.3