mirror of
https://github.com/jkdansereau/goldeneye-pc-port.git
synced 2026-10-23 15:52:42 +02:00
The release/v0.4.0 branch had never been compiled on Linux; two port-layer include-resolution spots that MinGW tolerated break under glibc. Shim-only fixes, zero src/ edits, no rule-2: - port/shim/PR/ucode.h + port/shim/bondconstants.h: break the bondconstants.h -> ultra64.h -> pc_protos.h -> bondtypes.h -> bondconstants.h first-include re-entry by deferring pc_protos.h during bondconstants.h's own ultra64.h pass (_PORT_DEFER_PC_PROTOS). - port/shim/PR/gbi.h: define _SHIFTL/_SHIFTR when absent, so video.c's gbi.h macros keep their mbi.h definitions on Linux. Builds + links clean on Ubuntu 24.04 (glibc 2.39 <= SteamOS 2.41).