Fix build with MSVC 2019+, and New SDK

This commit is contained in:
EAZYBLACK 2026-09-12 19:43:14 +03:00
commit f317c71c16
No known key found for this signature in database
GPG key ID: 7B9A0770947E7D15
2 changed files with 22 additions and 1 deletions

View file

@ -33,6 +33,12 @@
#define MOZALLOC_HAVE_XMALLOC
/* Workaround build problems with v142+ MSVC*/
#if defined(_MSC_VER)
#pragma warning(push)
#pragma warning(disable: 5043)
#endif
/* Workaround build problem with Sun Studio 12 */
#if defined(__SUNPRO_C) || defined(__SUNPRO_CC)
# undef MOZ_MUST_USE