X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/89b3af67bb32e691275bf6fa803d1834b2284115..ebb1b9f42b62218f29061826217bb0f71cd375a6:/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);