mirror of
https://github.com/opencv/opencv.git
synced 2025-08-06 14:36:36 +08:00
Merge pull request #21514 from pkubaj:patch-1
This commit is contained in:
commit
906f5f7e96
@ -621,7 +621,7 @@ struct HWFeatures
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
#elif (defined __ppc64__ || defined __PPC64__) && defined __FreeBSD__
|
#elif (defined __ppc64__ || defined __PPC64__) && defined __FreeBSD__
|
||||||
unsigned int hwcap = 0;
|
unsigned long hwcap = 0;
|
||||||
elf_aux_info(AT_HWCAP, &hwcap, sizeof(hwcap));
|
elf_aux_info(AT_HWCAP, &hwcap, sizeof(hwcap));
|
||||||
if (hwcap & PPC_FEATURE_HAS_VSX) {
|
if (hwcap & PPC_FEATURE_HAS_VSX) {
|
||||||
elf_aux_info(AT_HWCAP2, &hwcap, sizeof(hwcap));
|
elf_aux_info(AT_HWCAP2, &hwcap, sizeof(hwcap));
|
||||||
|
Loading…
Reference in New Issue
Block a user