Hi Martin,

The patch looks good to me, thanks for fixing it.

Jacek

On 03.04.2017 10:24, Martin Storsjö wrote:
> 072254d added mismatched ifdefs for _InterlockedCompareExchange64
> (only added an #if with no matching #endif) and for __readfsdword
> (only added a new #endif to an #if that already had a matching #endif).
>
> This fixes compilation for arm.
> ---
>   mingw-w64-headers/include/psdk_inc/intrin-impl.h | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/mingw-w64-headers/include/psdk_inc/intrin-impl.h 
> b/mingw-w64-headers/include/psdk_inc/intrin-impl.h
> index c6b98f6..340d6fb 100644
> --- a/mingw-w64-headers/include/psdk_inc/intrin-impl.h
> +++ b/mingw-w64-headers/include/psdk_inc/intrin-impl.h
> @@ -1253,6 +1253,7 @@ __MINGW_EXTENSION __INTRINSICS_USEINLINE
>   __int64 _InterlockedCompareExchange64(__int64 volatile *Destination, 
> __int64 ExChange, __int64 Comperand) {
>       return __sync_val_compare_and_swap(Destination, Comperand, ExChange);
>   }
> +#endif
>   #define __INTRINSIC_DEFINED__InterlockedCompareExchange64
>   #endif /* __INTRINSIC_PROLOG */
>   
> @@ -1685,7 +1686,6 @@ __INTRINSICS_USEINLINE
>   __buildreadseg(__readfsdword, unsigned __LONG32, "fs", "l")
>   #endif
>   #define __INTRINSIC_DEFINED___readfsdword
> -#endif
>   #endif /* __INTRINSIC_PROLOG */
>   
>   #if __INTRINSIC_PROLOG(__writefsbyte)



------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to