X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/89b3af67bb32e691275bf6fa803d1834b2284115..6d2010ae8f7a6078e10b361c6962983bab233e0f:/osfmk/i386/Diagnostics.h diff --git a/osfmk/i386/Diagnostics.h b/osfmk/i386/Diagnostics.h index c8d385c7b..f5281c604 100644 --- a/osfmk/i386/Diagnostics.h +++ b/osfmk/i386/Diagnostics.h @@ -42,8 +42,8 @@ #ifndef _DIAGNOSTICS_H_ #define _DIAGNOSTICS_H_ -#ifdef __ppc__ -#error This file is not useful on PowerPC. +#if !(defined(__i386__) || defined(__x86_64__)) +#error This file is not useful on non-Intel #endif int diagCall(x86_saved_state_t *regs);