Skip to content

Conversation

m256i
Copy link

@m256i m256i commented May 27, 2025

Issue as stated in #810
modified defines for NK_SIZE_TYPE and NK_POINTER_TYPE to:

    #elif defined(_WIN64) && (defined(__MINGW64__) || defined(__clang__))
      #define NK_SIZE/POINTER_TYPE unsigned long long
   ...
    #elif (defined(_WIN32) || defined(WIN32)) && (defined(__MINGW32__) || defined(__clang__))
      #define NK_SIZE/POINTER_TYPE unsigned long  

to account for MinGW 64 and 32 bit aswell as windows clang 64 and 32 bit and clang-cl 64 and 32 bit.
i've put together a quick goldbolt comparison
with MinGW gcc + clang and a gnu/linux gcc basecase, to demonstrate that the fix works as intended.

@m256i
Copy link
Author

m256i commented May 27, 2025

I have not tested building with clang-cl inside Vistual Studio.

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.

1 participant