Skip to content

Commit fdb4b89

Browse files
committed
[libc] Fix memmove macros for unreocognized targets
1 parent 00f9c85 commit fdb4b89

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libc/src/string/memory_utils/inline_memmove.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@
2929
#define LIBC_SRC_STRING_MEMORY_UTILS_MEMMOVE_SMALL_SIZE \
3030
inline_memmove_no_small_size
3131
#define LIBC_SRC_STRING_MEMORY_UTILS_MEMMOVE_FOLLOW_UP inline_memmove_riscv
32-
#define LIBC_SRC_STRING_MEMORY_UTILS_MEMMOVE_FOLLOW_UP \
33-
inline_memmove_byte_per_byte
3432
#elif defined(LIBC_TARGET_ARCH_IS_GPU)
3533
#include "src/string/memory_utils/generic/builtin.h"
3634
#define LIBC_SRC_STRING_MEMORY_UTILS_MEMMOVE_SMALL_SIZE \
@@ -40,6 +38,8 @@
4038
#include "src/string/memory_utils/generic/byte_per_byte.h"
4139
#define LIBC_SRC_STRING_MEMORY_UTILS_MEMMOVE_SMALL_SIZE \
4240
inline_memmove_no_small_size
41+
#define LIBC_SRC_STRING_MEMORY_UTILS_MEMMOVE_FOLLOW_UP \
42+
inline_memmove_byte_per_byte
4343
#endif
4444

4545
namespace LIBC_NAMESPACE_DECL {

0 commit comments

Comments
 (0)