fix compilation err in non-intfilter cases

This commit is contained in:
cathugger 2021-03-23 10:36:42 +00:00
parent c9d018a253
commit fc6285523f
No known key found for this signature in database
GPG key ID: 9BADDA2DAF6F01A8

View file

@ -1,3 +1,6 @@
#ifdef EXPANDMASK
#ifdef __GNUC__
static IFT ifilter_bitsum(IFT x)
@ -12,7 +15,7 @@ static IFT ifilter_bitsum(IFT x)
return (((IFT) 1) << __builtin_popcount((unsigned int) x)) - 1;
}
#else
#else // __GNUC__
static IFT ifilter_bitsum(IFT x)
{
@ -24,4 +27,6 @@ static IFT ifilter_bitsum(IFT x)
return (((IFT) 1) << v) - 1;
}
#endif
#endif // __GNUC__
#endif // EXPANDMASK