FormatMessageA/W are allowed, so the flag should be allowed too.
---
 mingw-w64-headers/include/winbase.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/mingw-w64-headers/include/winbase.h 
b/mingw-w64-headers/include/winbase.h
index b68c8ed1d..6faf6ac97 100644
--- a/mingw-w64-headers/include/winbase.h
+++ b/mingw-w64-headers/include/winbase.h
@@ -1448,6 +1448,7 @@ typedef enum FILE_FLUSH_MODE {
 #define FORMAT_MESSAGE_FROM_SYSTEM 0x00001000
 #define FORMAT_MESSAGE_ARGUMENT_ARRAY 0x00002000
 #define FORMAT_MESSAGE_MAX_WIDTH_MASK 0x000000ff
+#define FORMAT_MESSAGE_ALLOCATE_BUFFER 0x00000100
 #endif
 
 #if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP)
@@ -1465,8 +1466,6 @@ typedef enum FILE_FLUSH_MODE {
 #define FILE_READ_ONLY 8
 #define FILE_DIR_DISALLOWED 9
 
-#define FORMAT_MESSAGE_ALLOCATE_BUFFER 0x00000100
-
 #define EFS_USE_RECOVERY_KEYS (0x1)
 
 #define CREATE_FOR_IMPORT (1)
-- 
2.39.2



_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to