Module: wine Branch: master Commit: 8c0398d1a5e58283c1197d97c78b1eb8010c7e3c URL: http://source.winehq.org/git/wine.git/?a=commit;h=8c0398d1a5e58283c1197d97c7...
Author: André Hentschel nerv@dawncrow.de Date: Wed Jun 26 23:45:25 2013 +0200
oleaut32/tests: Get rid of HAVE_OLEAUT32_DECIMAL in safearray.
---
dlls/oleaut32/tests/safearray.c | 7 +------ 1 files changed, 1 insertions(+), 6 deletions(-)
diff --git a/dlls/oleaut32/tests/safearray.c b/dlls/oleaut32/tests/safearray.c index c6d16ce..ca1d18c 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; }