Skip to content

Commit 732e269

Browse files
committed
Merge branch 'mdev9991' into mdev9991-10.0
2 parents f9d453e + 196d96c commit 732e269

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mysys/my_context.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ my_context_spawn(struct my_context *c, void (*f)(void *), void *d)
206206
(
207207
"movq %%rsp, (%[save])\n\t"
208208
"movq %[stack], %%rsp\n\t"
209-
#if __GNUC__ >= 4 && __GNUC_MINOR__ >= 4 && !defined(__INTEL_COMPILER)
209+
#if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)) && !defined(__INTEL_COMPILER)
210210
/*
211211
This emits a DWARF DW_CFA_undefined directive to make the return address
212212
undefined. This indicates that this is the top of the stack frame, and
@@ -454,7 +454,7 @@ my_context_spawn(struct my_context *c, void (*f)(void *), void *d)
454454
(
455455
"movl %%esp, (%[save])\n\t"
456456
"movl %[stack], %%esp\n\t"
457-
#if __GNUC__ >= 4 && __GNUC_MINOR__ >= 4 && !defined(__INTEL_COMPILER)
457+
#if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)) && !defined(__INTEL_COMPILER)
458458
/*
459459
This emits a DWARF DW_CFA_undefined directive to make the return address
460460
undefined. This indicates that this is the top of the stack frame, and

0 commit comments

Comments
 (0)