1
0
mirror of https://github.com/xmrig/xmrig.git synced 2026-04-18 13:22:43 -04:00

Update hwloc for MSVC.

This commit is contained in:
XMRig
2025-06-14 22:11:33 +07:00
parent 3ff41f7c94
commit dba336aa04
20 changed files with 690 additions and 313 deletions

View File

@@ -186,7 +186,7 @@ hwloc_ffsl_from_ffs32(unsigned long x)
/**
* flsl helpers.
*/
#ifdef __GNUC_____
#ifdef __GNUC__
# if (__GNUC__ >= 4) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 4))
# define hwloc_flsl(x) ((x) ? (8*sizeof(long) - __builtin_clzl(x)) : 0)