diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog index 3d376d8cb..e5deb6aaf 100644 --- a/winsup/w32api/ChangeLog +++ b/winsup/w32api/ChangeLog @@ -1,3 +1,8 @@ +2002-06-24 Danny Smith + + * include/objidl.h (struct tagPROPVARIANT): Kill obsolete + union member _VARIANT_BOOL bool. + 2002-06-24 Danny Smith * include/winioctl.h (FILE_SPECIAL_ACCESS): Add define. 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;