summaryrefslogtreecommitdiff
path: root/libc/string/memcpy.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/string/memcpy.c')
-rw-r--r--libc/string/memcpy.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/libc/string/memcpy.c b/libc/string/memcpy.c
index cbb6e633a..42436e0b6 100644
--- a/libc/string/memcpy.c
+++ b/libc/string/memcpy.c
@@ -19,16 +19,10 @@ Wvoid *Wmemcpy(Wvoid * __restrict s1, const Wvoid * __restrict s2, size_t n)
register Wchar *r1 = s1;
register const Wchar *r2 = s2;
-#ifdef __BCC__
- while (n--) {
- *r1++ = *r2++;
- }
-#else
while (n) {
*r1++ = *r2++;
--n;
}
-#endif
return s1;
}