You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by André Malo <nd...@perlig.de> on 2004/01/03 19:51:20 UTC

atomic/win32/apr_atomic.c doesn't compile

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