oleaut32: Use the x87 assembly code for rounding on x86_64 too.

This commit is contained in:
Alexandre Julliard 2010-04-09 11:14:47 +02:00
parent 3681a28024
commit 2e5d1f192f

View file

@ -3503,7 +3503,7 @@ HRESULT WINAPI VarCyFromR4(FLOAT fltIn, CY* pCyOut)
*/
HRESULT WINAPI VarCyFromR8(double dblIn, CY* pCyOut)
{
#if defined(__GNUC__) && defined(__i386__)
#if defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__))
/* This code gives identical results to Win32 on Intel.
* Here we use fp exceptions to catch overflows when storing the value.
*/