apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Malo ...@perlig.de>
Subject atomic/win32/apr_atomic.c doesn't compile
Date Sat, 03 Jan 2004 18:51:20 GMT
I'm running VC6/SP5 here and get an unresolved
InterlockedCompareExchangePointer symbol. It should be defined in winbase.h
and kernel32.lib, but it isn't (neither).
Any idea?

For now, I've taken this define from openwatcom's winbase.h, but that can't be
the solution, I guess:

#define InterlockedCompareExchangePointer(d,e,c) \
    (PVOID)InterlockedCompareExchange((LPLONG)(d),(LONG)(e),(LONG)(c))

nd

Mime
View raw message