在 2025-11-7 01:39, Pali Rohár 写道:
Well, I saw that mingw-w64 winternl.h already contains other stuff from
ntddk.h which is not in the ms winternl.h header file, so I thought that
it is a good idea to have it. That is why I added it into both files.
One reason for not adding new names in winternl.h is that it might conflict with a user-defined one, and it would result in inconsistency that someone has to deal with, if they have code that should be compiled with either MSVC or GCC (and Clang).

There are some holy relics such as `getopt()` and `opendir()` that are kept in 
order not to cause breaks.


--
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