Fixed V_DECIMAL macro to reflect where the decVal member is actually

stored.
This commit is contained in:
Gregg Mattinson 2002-07-08 19:39:45 +00:00 committed by Alexandre Julliard
parent cfb96bddf1
commit 421660e894
1 changed files with 5 additions and 1 deletions

View File

@ -180,8 +180,12 @@ SafeArrayRedim(struct tagSAFEARRAY *psa, struct tagSAFEARRAYBOUND *psaboundNew);
#define V_ARRAY(A) V_UNION(A, parray)
#define V_ARRAYREF(A) V_UNION(A, pparray)
#define V_BYREF(A) V_UNION(A, byref)
#define V_DECIMAL(A) V_UNION(A, decVal)
#define V_DECIMALREF(A) V_UNION(A, pdecVal)
#if (__STDC__ && !defined(_FORCENAMELESSUNION)) || defined(NONAMELESSUNION)
#define V_DECIMAL(A) ((A)->n1.decVal)
#else
#define V_DECIMAL(A) ((A)->decVal)
#endif
/*
* VARIANT API