Support VARIANT on 32-bit and 64-bit architectures