mirror of
https://github.com/cathugger/mkp224o.git
synced 2025-01-09 02:57:21 -03:00
fix compilation err in non-intfilter cases
This commit is contained in:
parent
c9d018a253
commit
fc6285523f
1 changed files with 7 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue