mirror of
https://github.com/cathugger/mkp224o.git
synced 2025-12-05 21:27:13 -06:00
fix compilation err in non-intfilter cases
This commit is contained in:
@@ -1,3 +1,6 @@
|
|||||||
|
|
||||||
|
#ifdef EXPANDMASK
|
||||||
|
|
||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
|
|
||||||
static IFT ifilter_bitsum(IFT x)
|
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;
|
return (((IFT) 1) << __builtin_popcount((unsigned int) x)) - 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
#else
|
#else // __GNUC__
|
||||||
|
|
||||||
static IFT ifilter_bitsum(IFT x)
|
static IFT ifilter_bitsum(IFT x)
|
||||||
{
|
{
|
||||||
@@ -24,4 +27,6 @@ static IFT ifilter_bitsum(IFT x)
|
|||||||
return (((IFT) 1) << v) - 1;
|
return (((IFT) 1) << v) - 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif // __GNUC__
|
||||||
|
|
||||||
|
#endif // EXPANDMASK
|
||||||
|
|||||||
Reference in New Issue
Block a user