1
0
mirror of https://github.com/google/cpu_features.git synced 2025-07-03 14:13:18 +02:00

Add support for FreeBSD on x86 (#163)

This commit is contained in:
Guillaume Chatelet
2021-07-02 15:37:03 +02:00
committed by GitHub
parent 06fdc0aa1d
commit 119943707c
4 changed files with 97 additions and 29 deletions

View File

@ -83,6 +83,10 @@
#define CPU_FEATURES_OS_DARWIN
#endif
#if (defined(__freebsd__) || defined(__FreeBSD__))
#define CPU_FEATURES_OS_FREEBSD
#endif
////////////////////////////////////////////////////////////////////////////////
// Compilers
////////////////////////////////////////////////////////////////////////////////