Finally finish with MinGW building (linking still has some issues shush)

This commit is contained in:
wuggy 2026-04-18 01:02:51 -07:00
commit 854f39b4ab
32 changed files with 104 additions and 19 deletions

View file

@ -3,8 +3,9 @@
* You can obtain one at http://mozilla.org/MPL/2.0/. */
#include <mozilla/Assertions.h>
#include <stdlib.h>
/* Provide an abort function for use in jemalloc code */
extern "C" void moz_abort() {
MOZ_CRASH();
abort();
}

View file

@ -193,6 +193,10 @@
#include <windows.h>
#include <intrin.h>
#ifndef min
#define min(a, b) (((a) < (b)) ? (a) : (b))
#endif
#pragma warning( disable: 4267 4996 4146 )
#define bool BOOL