Hi Jeff,
> Not recommended, but when building on Win32 I always comment out the call
> to InterlockedCompareExchangePointer() and just return NULL ;)
hehe, I wasnt brave enough to do that...!

> For better handling of this dependency, how can we check for 64-bit build
> at
> compile time on Win32?  For a 64-bit build we really need to call
> InterlockedCompareExchangePointer(), but for 32-bit build, calling
> InterlockedCompareExchange() is fine and we can avoid the extra SDK
> dependency.
cool! That would be very great if we could find a way around this; even a 
simple -DBUILD32 would be suffient!

thanks, Guenter.



Reply via email to