Remove _ISOMAC check from <cpu-features.h>

Remove _ISOMAC check from <cpu-features.h> since it isn't an installer
header file.
This commit is contained in:
H.J. Lu 2020-12-24 15:43:34 -08:00
parent 45dcd1af09
commit f380868f6d
1 changed files with 74 additions and 80 deletions

View File

@ -23,17 +23,13 @@
# error this should be impossible
#endif
#ifndef _ISOMAC
/* Get most of the contents from the public header, but we define a
different `struct cpu_features' type for private use. */
#define cpu_features cpu_features_public
#define __x86_get_cpu_features __x86_get_cpu_features_public
#endif
#include <sysdeps/x86/sys/platform/x86.h>
#ifndef _ISOMAC
#undef cpu_features
#undef __x86_get_cpu_features
#define __get_cpu_features() __x86_get_cpu_features (0)
@ -177,6 +173,4 @@ extern void _dl_x86_init_cpu_features (void) attribute_hidden;
# define HAS_I686 1
# endif
#endif /* !_ISOMAC */
#endif /* include/cpu-features.h */