* include/oleauto.h (V_BOOL): Define in terms of boolVal,

not bool, for C as well as C++.
This commit is contained in:
Danny Smith 2002-07-23 02:09:27 +00:00
parent f5f27f0778
commit 80ac7b1f9a
2 changed files with 5 additions and 4 deletions

View File

@ -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.

View 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)