X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Futils.c;h=3cdb6b76063caf4545761a93b52523dd2c39b14c;hp=17a313ee16f66efe8c574ddfddc8f94f156b9e11;hb=a1e4ab8b82429320c5f962038c0f28b874f8ea6f;hpb=83ed9e903336bd1d098d93b62cd6e444f2a8d6f1 diff --git a/src/common/utils.c b/src/common/utils.c index 17a313ee1..3cdb6b760 100644 --- a/src/common/utils.c +++ b/src/common/utils.c @@ -1014,7 +1014,7 @@ static inline unsigned int fls_u32(uint32_t x) #define HAS_FLS_U32 #endif -#if defined(__x86_64) +#if defined(__x86_64) && defined(__LP64__) static inline unsigned int fls_u64(uint64_t x) {