From 2ecfbe940991d349028c44d947aeb59c917febee Mon Sep 17 00:00:00 2001 From: wuggy Date: Tue, 21 Apr 2026 01:01:39 -0700 Subject: [PATCH] Fix linking error on MSVC (should now link mozglue on both MSVC and GCC) --- mozglue/build/mozglue.def.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mozglue/build/mozglue.def.in b/mozglue/build/mozglue.def.in index a3fc16da9a..681e54ecd1 100644 --- a/mozglue/build/mozglue.def.in +++ b/mozglue/build/mozglue.def.in @@ -34,7 +34,11 @@ EXPORTS _wcsdup=wrap_wcsdup jemalloc_stats jemalloc_free_dirty_pages +#ifdef GNU_CC _Z14mozalloc_abortPKc +#else + ?mozalloc_abort@@YAXQEBD@Z +#endif ; A hack to work around the CRT (see giant comment in Makefile.in) frex=dumb_free_thunk #endif