From 8c0398d1a5e58283c1197d97c78b1eb8010c7e3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Hentschel?= Date: Wed, 26 Jun 2013 23:45:25 +0200 Subject: [PATCH] oleaut32/tests: Get rid of HAVE_OLEAUT32_DECIMAL in safearray. --- dlls/oleaut32/tests/safearray.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/dlls/oleaut32/tests/safearray.c b/dlls/oleaut32/tests/safearray.c index c6d16ce5dee..ca1d18c0e71 100644 --- a/dlls/oleaut32/tests/safearray.c +++ b/dlls/oleaut32/tests/safearray.c @@ -59,8 +59,6 @@ static SAFEARRAY* (WINAPI *pSafeArrayCreateVector)(VARTYPE,LONG,ULONG); #define HAVE_OLEAUT32_R8 HAVE_FUNC(VarR8FromI1) /* Have I8/UI8 data type? */ #define HAVE_OLEAUT32_I8 HAVE_FUNC(VarI8FromI1) -/* Have the decimal type? */ -#define HAVE_OLEAUT32_DECIMAL HAVE_FUNC(VarDecAdd) /* Have INT_PTR/UINT_PTR type? */ static BOOL HAVE_OLEAUT32_INT_PTR; @@ -201,10 +199,7 @@ static DWORD SAFEARRAY_GetVTSize(VARTYPE vt) case VT_DISPATCH: return sizeof(LPDISPATCH); case VT_VARIANT: return sizeof(VARIANT); case VT_UNKNOWN: return sizeof(LPUNKNOWN); - case VT_DECIMAL: - if (HAVE_OLEAUT32_DECIMAL) - return sizeof(DECIMAL); - break; + case VT_DECIMAL: return sizeof(DECIMAL); } return 0; }