Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/minhook.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/hde/hde32.c4
-rw-r--r--src/hde/hde64.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/hde/hde32.c b/src/hde/hde32.c
index e191f20..08fa25b 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 f432fc0..c23e2fc 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__)