ruapu icon indicating copy to clipboard operation
ruapu copied to clipboard

Remove windows.h depend on Win32 platform

Open windowsair opened this issue 1 month ago • 1 comments

This patch removes the windows.h header to avoid namespace pollution and improve compilation speed.

For GCC/Clang, a minimal part of the Windows headers is still included. I intend to further remove their dependencies. If the ABI is stable, access to the PEXCEPTION_POINTERS ExceptionInfo member can be directly achieved through pointer arithmetic.

Looking forward to your reply :)

windowsair avatar Nov 13 '25 07:11 windowsair

Hello, it looks like the CI task failed early. If possible, I can submit a new PR to fix the CI issue first.

windowsair avatar Nov 13 '25 08:11 windowsair

Thanks for your contribution !

nihui avatar Nov 26 '25 06:11 nihui