Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update platform.h #280

Open
wants to merge 1 commit into
base: tf2
Choose a base branch
from
Open

Update platform.h #280

wants to merge 1 commit into from

Commits on Nov 8, 2024

  1. Update platform.h

    This is perhaps an issue spread over all the sdk branches. The detection of little endianess only ever works for gcc, there's nothing for msvc. From my short research, it seems msvc doesn't/never tell the preprocessor anything about the CPU brand. So instead we're going to assume if the CPU is a x86 or x86_64 processor it's most likely intel so i386-family, therefore little endian. Even if there's room for error, this is still marginally better than not having anything defined.
    Kenzzer authored Nov 8, 2024
    Configuration menu
    Copy the full SHA
    15cfe39 View commit details
    Browse the repository at this point in the history