summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/my_context.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/my_context.h b/include/my_context.h
index 8ed0c0ccf4e..b5daca25bba 100644
--- a/include/my_context.h
+++ b/include/my_context.h
@@ -27,7 +27,7 @@
#ifdef __WIN__
#define MY_CONTEXT_USE_WIN32_FIBERS 1
-#elif defined(__GNUC__) && __GNUC__ >= 3 && defined(__x86_64__)
+#elif defined(__GNUC__) && __GNUC__ >= 3 && defined(__x86_64__) && !defined(__ILP32__)
#define MY_CONTEXT_USE_X86_64_GCC_ASM
#elif defined(__GNUC__) && __GNUC__ >= 3 && defined(__i386__)
#define MY_CONTEXT_USE_I386_GCC_ASM