oleaut32/tests: Get rid of HAVE_OLEAUT32_DECIMAL in safearray.
This commit is contained in:
parent
cdeae41cd1
commit
8c0398d1a5
|
@ -59,8 +59,6 @@ static SAFEARRAY* (WINAPI *pSafeArrayCreateVector)(VARTYPE,LONG,ULONG);
|
||||||
#define HAVE_OLEAUT32_R8 HAVE_FUNC(VarR8FromI1)
|
#define HAVE_OLEAUT32_R8 HAVE_FUNC(VarR8FromI1)
|
||||||
/* Have I8/UI8 data type? */
|
/* Have I8/UI8 data type? */
|
||||||
#define HAVE_OLEAUT32_I8 HAVE_FUNC(VarI8FromI1)
|
#define HAVE_OLEAUT32_I8 HAVE_FUNC(VarI8FromI1)
|
||||||
/* Have the decimal type? */
|
|
||||||
#define HAVE_OLEAUT32_DECIMAL HAVE_FUNC(VarDecAdd)
|
|
||||||
/* Have INT_PTR/UINT_PTR type? */
|
/* Have INT_PTR/UINT_PTR type? */
|
||||||
static BOOL HAVE_OLEAUT32_INT_PTR;
|
static BOOL HAVE_OLEAUT32_INT_PTR;
|
||||||
|
|
||||||
|
@ -201,10 +199,7 @@ static DWORD SAFEARRAY_GetVTSize(VARTYPE vt)
|
||||||
case VT_DISPATCH: return sizeof(LPDISPATCH);
|
case VT_DISPATCH: return sizeof(LPDISPATCH);
|
||||||
case VT_VARIANT: return sizeof(VARIANT);
|
case VT_VARIANT: return sizeof(VARIANT);
|
||||||
case VT_UNKNOWN: return sizeof(LPUNKNOWN);
|
case VT_UNKNOWN: return sizeof(LPUNKNOWN);
|
||||||
case VT_DECIMAL:
|
case VT_DECIMAL: return sizeof(DECIMAL);
|
||||||
if (HAVE_OLEAUT32_DECIMAL)
|
|
||||||
return sizeof(DECIMAL);
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue