Skip to content

Commit 21583f8

Browse files
committed
simx86: don't use locks in dlmalloc without SPEC_PREJIT
as suggested by @stsp
1 parent 04bd093 commit 21583f8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/base/lib/misc/dlmalloc.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1+
#include "../../../base/emu-i386/simx86/econfig.h"
2+
#if SPEC_PREJIT
13
#define USE_LOCKS 1
4+
#endif
25
#define INSECURE 1
36
#define HAVE_MORECORE 0
47
#define HAVE_MMAP 0

0 commit comments

Comments
 (0)