X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/e5568f75972dfc723778653c11cb6b4dc825716a..13fec9890cf095cc781fdf7b8917cb03bf32dd4c:/osfmk/machine/cpu_capabilities.h diff --git a/osfmk/machine/cpu_capabilities.h b/osfmk/machine/cpu_capabilities.h index a573941ef..65f8ea8f7 100644 --- a/osfmk/machine/cpu_capabilities.h +++ b/osfmk/machine/cpu_capabilities.h @@ -19,12 +19,12 @@ * * @APPLE_LICENSE_HEADER_END@ */ +#ifdef PRIVATE #ifndef _MACHINE_CPU_CAPABILITIES_H #define _MACHINE_CPU_CAPABILITIES_H -#ifdef __APPLE_API_PRIVATE - +#ifdef KERNEL_PRIVATE #if defined (__ppc__) #include "ppc/cpu_capabilities.h" #elif defined (__i386__) @@ -33,5 +33,15 @@ #error architecture not supported #endif -#endif /* __APPLE_API_PRIVATE */ +#else /* !KERNEL_PRIVATE -- System Framework header */ +#if defined (__ppc__) || defined(__ppc64__) +#include +#elif defined (__i386__) +#include +#else +#error architecture not supported +#endif +#endif /* KERNEL_PRIVATE */ + #endif /* _MACHINE_CPU_CAPABILITIES_H */ +#endif /* PRIVATE */