fix c23 compile
This commit is contained in:
1 parent
aa36cf7f04
commit
5fdc5c6be4
1 file changed
+1
-1
@@ -221,7 +221,7 @@ typedef struct
|
||||
#if USE_REP_MOVSB /* small win on amd, big loss on intel */
|
||||
#if (defined (__i386) || defined (__amd64)) && __GNUC__ >= 3
|
||||
# define lzf_movsb(dst, src, len) \
|
||||
asm ("rep movsb" \
|
||||
__asm__ ("rep movsb" \
|
||||
: "=D" (dst), "=S" (src), "=c" (len) \
|
||||
: "0" (dst), "1" (src), "2" (len));
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user