diff options
author | Guillaume Chatelet <gchatelet@google.com> | 2021-07-02 16:37:03 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-02 16:37:03 +0300 |
commit | 119943707c42f42a5f2344f0c0ac12bc2190b3d8 (patch) | |
tree | 338ddc90a129b7a9f87556a28e5a369a5f5a2012 /include | |
parent | 06fdc0aa1d2c300d9207337baa1a8182c1704bbf (diff) |
Add support for FreeBSD on x86 (#163)
Diffstat (limited to 'include')
-rw-r--r-- | include/cpu_features_macros.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/cpu_features_macros.h b/include/cpu_features_macros.h index 15f7368..96acf6d 100644 --- a/include/cpu_features_macros.h +++ b/include/cpu_features_macros.h @@ -83,6 +83,10 @@ #define CPU_FEATURES_OS_DARWIN #endif +#if (defined(__freebsd__) || defined(__FreeBSD__)) +#define CPU_FEATURES_OS_FREEBSD +#endif + //////////////////////////////////////////////////////////////////////////////// // Compilers //////////////////////////////////////////////////////////////////////////////// |