x86: enable AT&T code only when DIET mode is off

v2
Nguyen Anh Quynh 11 years ago
parent 16d9c6cee7
commit f7850266d5
  1. 3
      arch/X86/X86ATTInstPrinter.c

@ -15,7 +15,8 @@
/* Capstone Disassembly Engine */ /* Capstone Disassembly Engine */
/* By Nguyen Anh Quynh <aquynh@gmail.com>, 2013-2014 */ /* By Nguyen Anh Quynh <aquynh@gmail.com>, 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 <ctype.h> #include <ctype.h>
#include <inttypes.h> #include <inttypes.h>

Loading…
Cancel
Save