=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: oleaut32/tests: Get rid of HAVE_OLEAUT32_R8 in safearray.

Alexandre Julliard julliard at winehq.org
Thu Jun 27 13:39:09 CDT 2013


Module: wine
Branch: master
Commit: 4e0e066ccad38aa41b7a56e4fdf1061288f25e99
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=4e0e066ccad38aa41b7a56e4fdf1061288f25e99

Author: André Hentschel <nerv at dawncrow.de>
Date:   Wed Jun 26 23:47:20 2013 +0200

oleaut32/tests: Get rid of HAVE_OLEAUT32_R8 in safearray.

---

 dlls/oleaut32/tests/safearray.c |    6 +-----
 1 files changed, 1 insertions(+), 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)




More information about the wine-cvs mailing list