mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-29 20:07:30 +09:00
Finally finish with MinGW building (linking still has some issues shush)
This commit is contained in:
parent
ad07988f5b
commit
854f39b4ab
32 changed files with 104 additions and 19 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue