mirror of
https://github.com/google/cpu_features.git
synced 2025-07-02 13:43:18 +02:00
Guarding header use with architecture (#56)
This commit is contained in:

committed by
GitHub

parent
89ec4b0744
commit
4155ee7e36
@ -50,4 +50,8 @@ const char* GetMipsFeaturesEnumName(MipsFeaturesEnum);
|
||||
|
||||
CPU_FEATURES_END_CPP_NAMESPACE
|
||||
|
||||
#if !defined(CPU_FEATURES_ARCH_MIPS)
|
||||
#error "Including cpuinfo_mips.h from a non-mips target."
|
||||
#endif
|
||||
|
||||
#endif // CPU_FEATURES_INCLUDE_CPUINFO_MIPS_H_
|
||||
|
Reference in New Issue
Block a user