Commit d058863d authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

MDEV-4720 : fix my_context.h for use with x32 ABI.

Do not use x64  assembler implementation in  x32.
parent 7c61679c
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
#ifdef __WIN__ #ifdef __WIN__
#define MY_CONTEXT_USE_WIN32_FIBERS 1 #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 #define MY_CONTEXT_USE_X86_64_GCC_ASM
#elif defined(__GNUC__) && __GNUC__ >= 3 && defined(__i386__) #elif defined(__GNUC__) && __GNUC__ >= 3 && defined(__i386__)
#define MY_CONTEXT_USE_I386_GCC_ASM #define MY_CONTEXT_USE_I386_GCC_ASM
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment