summaryrefslogtreecommitdiff
path: root/libc/string/mempcpy.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/string/mempcpy.c')
-rw-r--r--libc/string/mempcpy.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/libc/string/mempcpy.c b/libc/string/mempcpy.c
index d79bd1937..d1d752b50 100644
--- a/libc/string/mempcpy.c
+++ b/libc/string/mempcpy.c
@@ -21,16 +21,10 @@ Wvoid *Wmempcpy(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 r1;
}