在 2026-6-21 23:08, Pali Rohár 写道:
SetUnhandledExceptionFilter is available in all Windows versions since NT 3.1.
---
  .../winstorecompat/src/SetUnhandledExceptionFilter.c            | 2 --
  1 file changed, 2 deletions(-)

diff --git 
a/mingw-w64-libraries/winstorecompat/src/SetUnhandledExceptionFilter.c 
b/mingw-w64-libraries/winstorecompat/src/SetUnhandledExceptionFilter.c
index bb90985866af..d4a92ef978e6 100644
--- a/mingw-w64-libraries/winstorecompat/src/SetUnhandledExceptionFilter.c
+++ b/mingw-w64-libraries/winstorecompat/src/SetUnhandledExceptionFilter.c
@@ -22,8 +22,6 @@
      DEALINGS IN THE SOFTWARE.
  */
-#define _WIN32_WINNT 0x501 /* SetUnhandledExceptionFilter is XP+ */
-
  #define SetUnhandledExceptionFilter __SetUnhandledExceptionFilter
  #include <windef.h>
  #include <winbase.h>

This change is fine. However, the commit message says the function `SetUnhandledExceptionFilter` is available since Windows NT 3.1, but PSDK doc says it's from Windows NT 3.5.

Pushed with the change now.



--
Best regards,
LIU Hao

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

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

Reply via email to