← Back to team overview

maria-developers team mailing list archive

Re: [Commits] Rev 3569: MDEV-3830 - fix build on Intel compiler in file:///H:/bzr/5.5/

 

Vladislav Vaintroub <wlad@xxxxxxxxxxxxxxxx> writes:

> === modified file 'mysys/my_context.c'
> --- a/mysys/my_context.c	2012-10-31 11:47:25 +0000
> +++ b/mysys/my_context.c	2012-11-02 23:31:50 +0000
> @@ -206,7 +206,7 @@
>      (
>       "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)

There are two places this is done (one for 32-bit and one for 64-bit). You
probably need the !defined(__INTEL_COMPILER) on both.

 - Kristian.