]> git.proxmox.com Git - wasi-libc.git/blobdiff - libc-top-half/musl/src/string/wmemcpy.c
Don't use __builtin version of wmem*
[wasi-libc.git] / libc-top-half / musl / src / string / wmemcpy.c
index c477f58c40aa37165b994934a620f17a0861c6a0..52e6e6e07b9dac897d5ee6665caed25afccafc70 100644 (file)
@@ -2,11 +2,7 @@
 
 wchar_t *wmemcpy(wchar_t *restrict d, const wchar_t *restrict s, size_t n)
 {
-#if defined(__wasm_bulk_memory__)
-       return __builtin_wmemcpy(d, s, n);
-#else
        wchar_t *a = d;
        while (n--) *d++ = *s++;
        return a;
-#endif // __wasm_bulk_memory__
 }