mirror of
https://github.com/reactos/reactos.git
synced 2025-07-10 12:34:14 +00:00
[INCLUDE/WINE]
* Leverage __builtin_ffs() to fix the ffs() related issues. svn path=/trunk/; revision=59595
This commit is contained in:
parent
9dcb3faa30
commit
a747c72156
1 changed files with 2 additions and 0 deletions
|
@ -354,6 +354,8 @@ ffs(int mask)
|
||||||
if (_BitScanForward(&index, mask) == 0) return 0;
|
if (_BitScanForward(&index, mask) == 0) return 0;
|
||||||
return index;
|
return index;
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
#define ffs __builtin_ffs
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#else /* NO_LIBWINE_PORT */
|
#else /* NO_LIBWINE_PORT */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue