libFLAC: Fix so Intel compiles

Didn't do those pragmas correctly

Signed-off-by: Christopher Snowhill <kode54@gmail.com>
CQTexperiment
Christopher Snowhill 2022-02-06 03:14:14 -08:00
parent 62edb39761
commit b73f1f280e
1 changed files with 1 additions and 1 deletions

View File

@ -1002,7 +1002,6 @@ extern FLAC__bool FLAC__bitreader_read_uint32_little_endian(FLAC__BitReader *br,
#endif
#pragma clang attribute push (__attribute__((target("lzcnt"))), apply_to=function)
FLAC__bool FLAC__bitreader_read_unary_unsigned__LZCNT(FLAC__BitReader* br, uint32_t* val)
{
uint32_t i;
@ -1201,5 +1200,6 @@ FLAC__bool FLAC__bitreader_read_rice_signed_block__LZCNT(FLAC__BitReader* br, in
return true;
}
#pragma clang attribute pop
#endif // FLAC__SUPPORT_LZCNT