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.
Newer MinGW (mingw-w64) already declares ALLOC_CONSOLE_MODE,
ALLOC_CONSOLE_RESULT, ALLOC_CONSOLE_OPTIONS and AllocConsoleWithOptions
in <consoleapi.h>, causing redefinition errors when compiling Exe/Dll/Svc
loader formats. Wrap the redefinitions in #ifndef so older MinGW still
gets them and newer MinGW uses the system header.