Unified · Split
| @@ -29,14 +29,14 @@ · 28 unmodified lines | ||
| 29 | 29 | #include <sys/auxv.h> |
| 30 | 30 | #define HWCAP_RV(letter) (1ul << ((letter) - 'A')) |
| 31 | 31 | #endif |
| 32 | −#ifdef HAVE_SYS_HWPROBE_H | |
| 32 | +#if HAVE_SYS_HWPROBE_H | |
| 33 | 33 | #include <sys/hwprobe.h> |
| 34 | 34 | #endif |
| 35 | 35 | |
| 36 | 36 | int ff_get_cpu_flags_riscv(void) |
| 37 | 37 | { |
| 38 | 38 | int ret = 0; |
| 39 | −#ifdef HAVE_SYS_HWPROBE_H | |
| 39 | +#if HAVE_SYS_HWPROBE_H | |
| 40 | 40 | struct riscv_hwprobe pairs[] = { |
| 41 | 41 | { RISCV_HWPROBE_KEY_BASE_BEHAVIOR, 0 }, |
| 42 | 42 | { RISCV_HWPROBE_KEY_IMA_EXT_0, 0 }, |