ddk/ntifs.h: fix compilation with struct STORAGE_QUERY_DEPENDENT_VOLUME_RESPONSE
flexible array member in union is not supported in GCC standard
mingw-w64 bug: https://sourceforge.net/p/mingw-w64/bugs/777/
Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: Liu Hao <lh_mouse@126.com>
diff --git a/mingw-w64-headers/ddk/include/ddk/ntifs.h b/mingw-w64-headers/ddk/include/ddk/ntifs.h
index e2dc959..673eb36 100644
--- a/mingw-w64-headers/ddk/include/ddk/ntifs.h
+++ b/mingw-w64-headers/ddk/include/ddk/ntifs.h
@@ -4254,8 +4254,8 @@
ULONG ResponseLevel;
ULONG NumberEntries;
_ANONYMOUS_UNION union {
- STORAGE_QUERY_DEPENDENT_VOLUME_LEV1_ENTRY Lev1Depends[];
- STORAGE_QUERY_DEPENDENT_VOLUME_LEV2_ENTRY Lev2Depends[];
+ STORAGE_QUERY_DEPENDENT_VOLUME_LEV1_ENTRY Lev1Depends[0];
+ STORAGE_QUERY_DEPENDENT_VOLUME_LEV2_ENTRY Lev2Depends[0];
} DUMMYUNIONNAME;
} STORAGE_QUERY_DEPENDENT_VOLUME_RESPONSE, *PSTORAGE_QUERY_DEPENDENT_VOLUME_RESPONSE;