From f1bf0e01e275148d30a2564856c18bd9def74b58 Mon Sep 17 00:00:00 2001 From: Alexander Grund Date: Sun, 25 Aug 2024 18:41:01 +0200 Subject: [PATCH] Fix build on MinGW-w64 x86 32 bit version of MinGW-64 __MINGW64__ is not defined --- test/issues/reparse_tag_file_placeholder.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/issues/reparse_tag_file_placeholder.cpp b/test/issues/reparse_tag_file_placeholder.cpp index fbf7bf3..a305f43 100644 --- a/test/issues/reparse_tag_file_placeholder.cpp +++ b/test/issues/reparse_tag_file_placeholder.cpp @@ -27,7 +27,7 @@ // Test correct boost::filesystem::status when reparse point ReparseTag set to IO_REPARSE_TAG_FILE_PLACEHOLDER // https://docs.microsoft.com/en-us/windows/compatibility/placeholder-files?redirectedfrom=MSDN -#if !defined(__MINGW32__) || defined(__MINGW64__) +// from ntifs.h, which can only be used by drivers typedef struct _REPARSE_DATA_BUFFER { ULONG ReparseTag; @@ -58,7 +58,6 @@ typedef struct _REPARSE_DATA_BUFFER } GenericReparseBuffer; }; } REPARSE_DATA_BUFFER, *PREPARSE_DATA_BUFFER; -#endif #ifndef IO_REPARSE_TAG_FILE_PLACEHOLDER #define IO_REPARSE_TAG_FILE_PLACEHOLDER (0x80000015L)