Skip to content

fix linux 32-bit (__ILP32__) compilation#1949

Merged
borisbat merged 1 commit into
GaijinEntertainment:masterfrom
virt00l:fix-linux-ilp32-compilation
Dec 1, 2025
Merged

fix linux 32-bit (__ILP32__) compilation#1949
borisbat merged 1 commit into
GaijinEntertainment:masterfrom
virt00l:fix-linux-ilp32-compilation

Conversation

@virt00l
Copy link
Copy Markdown
Collaborator

@virt00l virt00l commented Dec 1, 2025

  • Fix invalid check for ULLONG_MAX compilation, do check ULONG_MAX instead: there is no point to checking long long max as it's guaranteed to be (at least) 64 bit, see
    https://en.wikipedia.org/wiki/64-bit_computing#64-bit_data_models
  • Fix invalid old msvc inline workaround bug, invalid #if conditions caused all 32-bit platforms to be treated as msvc compiler

* Fix invalid check for ULLONG_MAX compilation, do check ULONG_MAX
instead: there is no point to checking long long max as it's guaranteed
to be (at least) 64 bit, see
https://en.wikipedia.org/wiki/64-bit_computing#64-bit_data_models
* Fix invalid old msvc inline workaround bug, invalid #if conditions caused
all 32-bit platforms to be treated as msvc compiler
@virt00l virt00l requested review from borisbat and profelis December 1, 2025 11:41
@borisbat borisbat merged commit 1766ca6 into GaijinEntertainment:master Dec 1, 2025
21 checks passed
@virt00l virt00l deleted the fix-linux-ilp32-compilation branch December 1, 2025 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants