summaryrefslogtreecommitdiffstats
path: root/winsup/w32api/include/oleauto.h
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2002-07-23 02:09:27 +0000
committerDanny Smith <dannysmith@users.sourceforge.net>2002-07-23 02:09:27 +0000
commit80ac7b1f9ac10f86232594baf996347bede5923d (patch)
tree2a6a7718520ab353e3c640b16f25637424e78649 /winsup/w32api/include/oleauto.h
parentf5f27f07787e822e773e14b1dced1a01cbe28050 (diff)
downloadcygnal-80ac7b1f9ac10f86232594baf996347bede5923d.tar.gz
cygnal-80ac7b1f9ac10f86232594baf996347bede5923d.tar.bz2
cygnal-80ac7b1f9ac10f86232594baf996347bede5923d.zip
* include/oleauto.h (V_BOOL): Define in terms of boolVal,
not bool, for C as well as C++.
Diffstat (limited to 'winsup/w32api/include/oleauto.h')
-rw-r--r--winsup/w32api/include/oleauto.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/winsup/w32api/include/oleauto.h b/winsup/w32api/include/oleauto.h
index ab519ab28..fa4d7ee55 100644
--- a/winsup/w32api/include/oleauto.h
+++ b/winsup/w32api/include/oleauto.h
@@ -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)