summaryrefslogtreecommitdiffstats
path: root/winsup/w32api/include/objidl.h
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/w32api/include/objidl.h')
-rw-r--r--winsup/w32api/include/objidl.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/winsup/w32api/include/objidl.h b/winsup/w32api/include/objidl.h
index dfabbee18..20f5cd8cc 100644
--- a/winsup/w32api/include/objidl.h
+++ b/winsup/w32api/include/objidl.h
@@ -305,7 +305,9 @@ typedef struct tagPROPVARIANT {
short iVal;
USHORT uiVal;
VARIANT_BOOL boolVal;
-#ifndef __cplusplus
+#if 0
+/* bool is a standard type in C++, and a standard macro expanding
+ to the _Bool type in C99 (see stdbool.h) */
_VARIANT_BOOL bool;
#endif
long lVal;