diff --git a/src/hde/hde32.c b/src/hde/hde32.c index e191f205..08fa25bd 100644 --- a/src/hde/hde32.c +++ b/src/hde/hde32.c @@ -5,7 +5,7 @@ * */ -#ifdef _M_IX86 +#if defined(_M_IX86) || defined(__i386__) #include "hde32.h" #include "table32.h" @@ -323,4 +323,4 @@ unsigned int hde32_disasm(const void *code, hde32s *hs) return (unsigned int)hs->len; } -#endif // _M_IX86 +#endif // defined(_M_IX86) || defined(__i386__) diff --git a/src/hde/hde64.c b/src/hde/hde64.c index f432fc0a..c23e2fc6 100644 --- a/src/hde/hde64.c +++ b/src/hde/hde64.c @@ -5,7 +5,7 @@ * */ -#ifdef _M_X64 +#if defined(_M_X64) || defined(__x86_64__) #include "hde64.h" #include "table64.h" @@ -334,4 +334,4 @@ unsigned int hde64_disasm(const void *code, hde64s *hs) return (unsigned int)hs->len; } -#endif // _M_X64 +#endif // defined(_M_X64) || defined(__x86_64__)