Most linking errors dealt with on compiling on MinGW

This commit is contained in:
wuggy 2026-04-18 13:06:15 -07:00
commit dd7052503e
6 changed files with 27 additions and 7 deletions

View file

@ -16,7 +16,13 @@
* Note: MOZ_NORETURN seems to break crash stacks on ARM, so we don't
* use that annotation there.
*/
MFBT_API
#if defined(__MINGW32__)
# define MOZALLOC_ABORT_API
#else
# define MOZALLOC_ABORT_API MFBT_API
#endif
MOZALLOC_ABORT_API
#if !defined(__arm__)
MOZ_NORETURN
#endif