summaryrefslogtreecommitdiff
path: root/mysys
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@montyprogram.com>2012-11-03 00:31:50 +0100
committerVladislav Vaintroub <wlad@montyprogram.com>2012-11-03 00:31:50 +0100
commit25b5831a77cd3a8f1b0a1dfdb9ef16d9f33da0b8 (patch)
treee72cdeb311eea73077ff9afe6888bb6282176e60 /mysys
parent4ffc9c3b01459a2904a7154a6c750d128864fc7b (diff)
downloadmariadb-git-25b5831a77cd3a8f1b0a1dfdb9ef16d9f33da0b8.tar.gz
MDEV-3830 - fix build on Intel compiler
Diffstat (limited to 'mysys')
-rw-r--r--mysys/my_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/my_context.c b/mysys/my_context.c
index 9d56b13ecb5..bcacd5b167d 100644
--- a/mysys/my_context.c
+++ b/mysys/my_context.c
@@ -206,7 +206,7 @@ my_context_spawn(struct my_context *c, void (*f)(void *), void *d)
(
"movq %%rsp, (%[save])\n\t"
"movq %[stack], %%rsp\n\t"
-#if __GNUC__ >= 4 && __GNUC_MINOR__ >= 4
+#if __GNUC__ >= 4 && __GNUC_MINOR__ >= 4 && !defined(__INTEL_COMPILER)
/*
This emits a DWARF DW_CFA_undefined directive to make the return address
undefined. This indicates that this is the top of the stack frame, and