WINAPI_FAMILY_PARTITION is only supposed to be used with WINAPI_PARTITION_* constants, not with WINAPI_FAMILY_*_APP constants.
However, all the functions in this block actually are available for WINAPI_PARTITION_APP already since windows 8.0, so change to use that instead of WINAPI_PARTITION_DESKTOP. Signed-off-by: Martin Storsjö <[email protected]> --- mingw-w64-headers/include/fileapi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mingw-w64-headers/include/fileapi.h b/mingw-w64-headers/include/fileapi.h index fc62d24f6..b06e96fe2 100644 --- a/mingw-w64-headers/include/fileapi.h +++ b/mingw-w64-headers/include/fileapi.h @@ -134,7 +134,7 @@ WINBASEAPI DWORD WINAPI SetFilePointer (HANDLE hFile, LONG lDistanceToMove, PLON #endif #endif -#if WINAPI_FAMILY_PARTITION (WINAPI_FAMILY_DESKTOP_APP) +#if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_APP) typedef struct _WIN32_FILE_ATTRIBUTE_DATA { DWORD dwFileAttributes; FILETIME ftCreationTime; -- 2.17.1 _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
