Files
nsis-plugin-ns7zip/tools/linux/overlay/include/NTSecAPI.h
T
Simone c2c91b9e48 fix: use #include_next in Linux overlay shims to prevent infinite recursion
All 6 case-sensitivity shim headers in tools/linux/overlay/include/
now use #include_next instead of #include to forward to the real
MinGW system header, avoiding infinite preprocessor recursion on
Linux (Debian/WSL) where overlay/include is first in the search path.

Fixes build failures on Debian WSL (GCC 12) for all configurations.
Also update nsis7z.dll binaries built with the fixed overlay.
2026-05-03 04:04:20 +02:00

6 lines
264 B
C

/* Linux/MinGW cross-build shim: NTSecAPI.h → ntsecapi.h
* Uses #include_next so this shim is skipped on the recursive search,
* forwarding to the real MinGW system ntsecapi.h without infinite recursion. */
#pragma GCC system_header
#include_next <ntsecapi.h>