OSDN Git Service

* include/objidl.h (struct tagPROPVARIANT): Kill obsolete
authordannysmith <dannysmith>
Mon, 24 Jun 2002 04:51:32 +0000 (04:51 +0000)
committerdannysmith <dannysmith>
Mon, 24 Jun 2002 04:51:32 +0000 (04:51 +0000)
union member _VARIANT_BOOL bool.

winsup/w32api/ChangeLog
winsup/w32api/include/objidl.h

index 3d376d8..e5deb6a 100644 (file)
@@ -1,5 +1,10 @@
 2002-06-24  Danny Smith  <dannysmith@users.sourceforge.net>
 
+       * include/objidl.h (struct tagPROPVARIANT): Kill obsolete
+       union member _VARIANT_BOOL bool.
+       
+2002-06-24  Danny Smith  <dannysmith@users.sourceforge.net>
+
        * include/winioctl.h (FILE_SPECIAL_ACCESS): Add define.
 
 2002-06-24  Casper S. Hornstrup  <chorns@users.sourceforge.net>
index dfabbee..20f5cd8 100644 (file)
@@ -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;