diff --git a/arch/X86/X86ATTInstPrinter.c b/arch/X86/X86ATTInstPrinter.c index d4aeba89..d2fa43b8 100644 --- a/arch/X86/X86ATTInstPrinter.c +++ b/arch/X86/X86ATTInstPrinter.c @@ -15,7 +15,8 @@ /* Capstone Disassembly Engine */ /* By Nguyen Anh Quynh , 2013-2014 */ -#ifdef CAPSTONE_HAS_X86 +// this code is only relevant when DIET mode is disable +#if defined(CAPSTONE_HAS_X86) && !defined(CAPSTONE_DIET) #include #include