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

Guarding header use with architecture (#56)

This commit is contained in:
Guillaume Chatelet
2019-01-18 13:38:22 +01:00
committed by GitHub
parent 89ec4b0744
commit 4155ee7e36
7 changed files with 56 additions and 21 deletions

View File

@ -81,4 +81,8 @@ const char* GetArmFeaturesEnumName(ArmFeaturesEnum);
CPU_FEATURES_END_CPP_NAMESPACE
#if !defined(CPU_FEATURES_ARCH_ARM)
#error "Including cpuinfo_arm.h from a non-arm target."
#endif
#endif // CPU_FEATURES_INCLUDE_CPUINFO_ARM_H_