在 2022-12-03 23:07, Cao GH 写道:
At least in the latest Windows 11 SDK (22621) it is a DWORD, might be a good idea to check when it is changed.

I hit a type mismatch error while building blender for ARM64 using MSYS2, where it expects a DWORD dwOffset.


Yes you have to add a check for that, such as:

   ```
   #if _WIN32_WINNT >= _WIN32_WINNT_WIN10
     DWORD dwOffset;
   #else
     int dwOffset;
   #endif
   ```



--
Best regards,
LIU Hao

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to