On 12/09/2017 09:45 PM, Martin Storsjö wrote:
> setjmp.h only checks for _ARM64_, not for __aarch64__, but so far,
> only winnt.h defined this. Since _mingw_mac.h also defines some of
> the defines that winnt.h does (like _ARM_), do the same for _ARM64_.
> 
> Signed-off-by: Martin Storsjö <mar...@martin.st>
> ---
>  mingw-w64-headers/crt/_mingw_mac.h | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/mingw-w64-headers/crt/_mingw_mac.h 
> b/mingw-w64-headers/crt/_mingw_mac.h
> index 6869fe7..a921a46 100644
> --- a/mingw-w64-headers/crt/_mingw_mac.h
> +++ b/mingw-w64-headers/crt/_mingw_mac.h
> @@ -83,6 +83,9 @@
>  
>  #if defined(__aarch64__) && !defined(_M_ARM64)
>  #  define _M_ARM64 1
> +#  ifndef _ARM64_
> +#    define _ARM64_ 1
> +#  endif
>  #endif
>  
>  #ifndef _X86_
> 

Patch OK.

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to