diff options
author | Vladislav Vaintroub <wlad@montyprogram.com> | 2013-06-27 14:19:04 +0200 |
---|---|---|
committer | Vladislav Vaintroub <wlad@montyprogram.com> | 2013-06-27 14:19:04 +0200 |
commit | d058863d8e0162aa3a4ea571416c03903c92687b (patch) | |
tree | e592184c8ca4a90c3f2545c49f7bd3cf1182e3f1 | |
parent | 7c61679c4e87c264df537ec716c903742d36686e (diff) | |
download | mariadb-git-d058863d8e0162aa3a4ea571416c03903c92687b.tar.gz |
MDEV-4720 : fix my_context.h for use with x32 ABI.
Do not use x64 assembler implementation in x32.
-rw-r--r-- | include/my_context.h | 2 |
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 |