* include/oleauto.h (V_BOOL): Define in terms of boolVal,
not bool, for C as well as C++.
This commit is contained in:
parent
f5f27f0778
commit
80ac7b1f9a
|
@ -1,3 +1,8 @@
|
|||
2002-07-23 Danny Smith <dannysmith@users.sourceforge.net>
|
||||
|
||||
* include/oleauto.h (V_BOOL): Define in terms of boolVal,
|
||||
not bool, for C as well as C++.
|
||||
|
||||
2002-07-22 Danny Smith <dannysmith@users.sourceforge.net>
|
||||
|
||||
* include/shlwapi.h: New file.
|
||||
|
|
|
@ -32,11 +32,7 @@
|
|||
#else
|
||||
#define V_UNION(X,Y) ((X)->Y)
|
||||
#endif
|
||||
#ifdef __cplusplus
|
||||
#define V_BOOL(X) V_UNION(X,boolVal)
|
||||
#else
|
||||
#define V_BOOL(X) V_UNION(X,bool)
|
||||
#endif
|
||||
#define V_VT(X) ((X)->vt)
|
||||
#define V_ISBYREF(X) (V_VT(X)&VT_BYREF)
|
||||
#define V_ISARRAY(X) (V_VT(X)&VT_ARRAY)
|
||||
|
|
Loading…
Reference in New Issue