ntdll: Replicate InterlockedCompareExchange64 to the Unix library.

This fixes the build on FreeBSD/i386 with GCC 9.

Signed-off-by: Gerald Pfeifer <gerald@pfeifer.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
feature/deterministic
Gerald Pfeifer 2020-06-07 00:38:02 +02:00 committed by Alexandre Julliard
parent 19007cf31f
commit 0c14b1a962
1 changed files with 4 additions and 0 deletions

View File

@ -23,6 +23,10 @@
#include "unixlib.h"
#ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
#define InterlockedCompareExchange64(dest,xchg,cmp) RtlInterlockedCompareExchange64(dest,xchg,cmp)
#endif
struct debug_info
{
unsigned int str_pos; /* current position in strings buffer */