mirror of
https://github.com/entropy-z/Kharon
synced 2026-06-06 15:34:34 +00:00
3afb599e52
The previous #ifndef ALLOC_CONSOLE_MODE_DEFAULT guard didn't work because ALLOC_CONSOLE_MODE_DEFAULT is an enum constant, not a preprocessor macro — the C preprocessor only sees #defines, so the guard was always true and the typedefs still emitted, producing the same redefinition errors against MinGW's <consoleapi.h>. The block was unused: grep confirms ALLOC_CONSOLE_MODE/RESULT/OPTIONS and AllocConsoleWithOptions are not referenced anywhere in src_loader/ or src_beacon/, only defined in native.h itself. Modern mingw-w64 provides them via <consoleapi.h> when needed. Deleting is risk-free.