8000 Fix build on FreeBSD/powerpc* by kgotlinux · Pull Request #299 · google/cpu_features · GitHub
[go: up one dir, main page]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix build on FreeBSD/powerpc* #299

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
format file
  • Loading branch information
gchatelet committed Sep 25, 2023
commit 4ec3988fd6321b08b16a385a1ec3b18b9ebd26c1
3 changes: 1 addition & 2 deletions src/impl_ppc_freebsd.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
LINE(PPC_SCV, scv, "scv", 0, PPC_FEATURE2_SCV) \
LINE(PPC_HTM_NO_SUSPEND, htm_no_suspend, "htm-no-suspend", 0, \
PPC_FEATURE2_HTM_NO_SUSPEND)
#undef PPC // Remove conflict with compiler generated preprocessor
#undef PPC // Remove conflict with compiler generated preprocessor
#define INTROSPECTION_PREFIX PPC
#define INTROSPECTION_ENUM_PREFIX PPC
#include "define_introspection_and_hwcaps.inl"
Expand Down Expand Up @@ -117,6 +117,5 @@ PPCPlatformStrings GetPPCPlatformStrings(void) {
return strings;
}


#endif // CPU_FEATURES_OS_FREEBSD
#endif // CPU_FEATURES_ARCH_PPC
0