include: Make sure interlocked_cmpxchg128 is defined on ARM64
André Hentschel
nerv at dawncrow.de
Fri Jan 18 11:27:42 CST 2013
Am 18.01.2013 18:05, schrieb André Hentschel:
> ---
> include/wine/port.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/wine/port.h b/include/wine/port.h
> index bd6f513..d6904c0 100644
> --- a/include/wine/port.h
> +++ b/include/wine/port.h
> @@ -435,7 +435,7 @@ extern __int64 interlocked_cmpxchg64( __int64 *dest, __int64 xchg, __int64 compa
> extern int interlocked_xchg( int *dest, int val );
> extern void *interlocked_xchg_ptr( void **dest, void *val );
> extern int interlocked_xchg_add( int *dest, int incr );
> -#ifdef _WIN64
> +#if defined(__x86_64__) || defined(__aarch64__) || defined(_WIN64)
> extern unsigned char interlocked_cmpxchg128( __int64 *dest, __int64 xchg_high,
> __int64 xchg_low, __int64 *compare );
> #endif
>
>
>
>
oops that's not fully correct, I'll fix it next week, not a bad warning.
--
Best Regards, André Hentschel
More information about the wine-devel
mailing list