Merge pull request #21514 from pkubaj:patch-1

pull/21525/head
Alexander Alekhin 3 years ago
commit 906f5f7e96
  1. 2
      modules/core/src/system.cpp

@ -621,7 +621,7 @@ struct HWFeatures
}
}
#elif (defined __ppc64__ || defined __PPC64__) && defined __FreeBSD__
unsigned int hwcap = 0;
unsigned long hwcap = 0;
elf_aux_info(AT_HWCAP, &hwcap, sizeof(hwcap));
if (hwcap & PPC_FEATURE_HAS_VSX) {
elf_aux_info(AT_HWCAP2, &hwcap, sizeof(hwcap));

Loading…
Cancel
Save