On Thu, 12 Dec 2019, Steve Lhomme wrote:
WINAPI_FAMILY_DESKTOP_APP is (WINAPI_PARTITION_DESKTOP|WINAPI_PARTITION_APP)
(ie available for desktop and store apps)
The current macro results in:
(WINAPI_FAMILY & (WINAPI_PARTITION_DESKTOP|WINAPI_PARTITION_APP)) ==
(WINAPI_PARTITION_DESKTOP|WINAPI_PARTITION_APP)
One is not supposed to use WINAPI_FAMILY_PARTITION(<family>), one is
supposed to do WINAPI_FAMILY_PARTITION(<partition>). So the code that does
WINAPI_FAMILY_PARTITION(WINAPI_FAMILY_DESKTOP_APP) is wrong. Apparently
there's one single such case in fileapi.h, all other uses of
WINAPI_FAMILY_PARTITION are correct.
// Martin
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public