mirror of
https://github.com/yuzu-mirror/oaknut.git
synced 2025-12-06 07:01:59 +01:00
oaknut: feature_detection_freebsd: Warn about incompatibility with earlier FreeBSD versions
This commit is contained in:
parent
86e5386e27
commit
dbeec268b7
|
|
@ -7,6 +7,7 @@
|
|||
#include <optional>
|
||||
|
||||
#include <sys/auxv.h>
|
||||
#include <sys/param.h>
|
||||
|
||||
#include "oaknut/feature_detection/cpu_feature.hpp"
|
||||
#include "oaknut/feature_detection/feature_detection_hwcaps.hpp"
|
||||
|
|
@ -20,6 +21,10 @@
|
|||
# define AT_HWCAP2 26
|
||||
#endif
|
||||
|
||||
#if __FreeBSD_version < 1300114
|
||||
# error "Incompatible ABI change (incorrect HWCAP definitions on earlier FreeBSD versions)"
|
||||
#endif
|
||||
|
||||
namespace oaknut {
|
||||
|
||||
namespace detail {
|
||||
|
|
|
|||
Loading…
Reference in a new issue