1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

fix async client code for i386 (assembly)

and when safemalloc is enabled (use ucontext, otherwise backtrace function gets confused and crashes)
This commit is contained in:
Sergei Golubchik
2012-10-30 22:38:15 +01:00
parent 2d7c39e096
commit 937ae82a1b
2 changed files with 4 additions and 4 deletions

View File

@@ -29,7 +29,7 @@
#define MY_CONTEXT_USE_WIN32_FIBERS 1
#elif defined(__GNUC__) && __GNUC__ >= 3 && defined(__x86_64__)
#define MY_CONTEXT_USE_X86_64_GCC_ASM
#elif defined(__GNUC__) && __GNUC__ >= 3 && defined(__i386__)
#elif defined(__GNUC__) && __GNUC__ >= 3 && defined(__i386__) && !defined(SAFEMALLOC)
#define MY_CONTEXT_USE_I386_GCC_ASM
#else
#define MY_CONTEXT_USE_UCONTEXT