Fix: compile fails for x32 arch
[lttng-tools.git] / src / common / utils.c
index 17a313ee16f66efe8c574ddfddc8f94f156b9e11..3cdb6b76063caf4545761a93b52523dd2c39b14c 100644 (file)
@@ -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)
 {
This page took 0.023705 seconds and 4 git commands to generate.