Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2002-07-23 06:09:27 +0400
committerDanny Smith <dannysmith@users.sourceforge.net>2002-07-23 06:09:27 +0400
commit80ac7b1f9ac10f86232594baf996347bede5923d (patch)
tree2a6a7718520ab353e3c640b16f25637424e78649
parentf5f27f07787e822e773e14b1dced1a01cbe28050 (diff)
* include/oleauto.h (V_BOOL): Define in terms of boolVal,
not bool, for C as well as C++.
-rw-r--r--winsup/w32api/ChangeLog5
-rw-r--r--winsup/w32api/include/oleauto.h4
2 files changed, 5 insertions, 4 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog
index 72af7a22e..fbcd75f21 100644
--- a/winsup/w32api/ChangeLog
+++ b/winsup/w32api/ChangeLog
@@ -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.
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)