[4/5] oleaut32/tests: Get rid of HAVE_OLEAUT32_R8 in safearray
André Hentschel
nerv at dawncrow.de
Wed Jun 26 16:47:20 CDT 2013
---
dlls/oleaut32/tests/safearray.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/dlls/oleaut32/tests/safearray.c b/dlls/oleaut32/tests/safearray.c
index ca1d18c..8acca13 100644
--- a/dlls/oleaut32/tests/safearray.c
+++ b/dlls/oleaut32/tests/safearray.c
@@ -55,8 +55,6 @@ static SAFEARRAY* (WINAPI *pSafeArrayCreateVector)(VARTYPE,LONG,ULONG);
/* Is a given function exported from oleaut32? */
#define HAVE_FUNC(func) ((void*)GetProcAddress(hOleaut32, #func) != NULL)
-/* Have R8 data type? */
-#define HAVE_OLEAUT32_R8 HAVE_FUNC(VarR8FromI1)
/* Have I8/UI8 data type? */
#define HAVE_OLEAUT32_I8 HAVE_FUNC(VarI8FromI1)
/* Have INT_PTR/UINT_PTR type? */
@@ -178,9 +176,7 @@ static DWORD SAFEARRAY_GetVTSize(VARTYPE vt)
case VT_UI4:
case VT_R4:
case VT_ERROR: return sizeof(LONG);
- case VT_R8:
- if (HAVE_OLEAUT32_R8)
- return sizeof(LONG64);
+ case VT_R8: return sizeof(LONG64);
case VT_I8:
case VT_UI8:
if (HAVE_OLEAUT32_I8)
--
1.8.1.2
More information about the wine-patches
mailing list