Skip to content

Commit

Permalink
Avoid __builtin_memcpy
Browse files Browse the repository at this point in the history
  • Loading branch information
mikkelfj committed Mar 11, 2024
1 parent 5a36053 commit f1ab3f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/flatcc/portable/pmemaccess.h
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ extern "C" {

#ifndef mem_copy_word
# if defined(__has_builtin)
# if __has_builtin(__builtin_memcpy)
# if __has_builtin(__builtin_memcpy) && 0 /* debug ICC compiler */
# define mem_copy_word(d, s, n) __builtin_memcpy((d), (s), (n))
# if PORTABLE_MEM_ACCESS_DEBUG
# error mem_copy_word using: __builtin_memcpy
Expand Down

0 comments on commit f1ab3f6

Please sign in to comment.