lang/erlang-runtime20: fix build on recent current
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
--- erts/emulator/beam/erl_alloc.h.orig 2020-08-28 21:30:14 UTC
|
||||
+++ erts/emulator/beam/erl_alloc.h
|
||||
@@ -146,7 +146,7 @@ typedef struct ErtsAllocatorWrapper_t_ {
|
||||
void (*unlock)(void);
|
||||
struct ErtsAllocatorWrapper_t_* next;
|
||||
}ErtsAllocatorWrapper_t;
|
||||
-ErtsAllocatorWrapper_t *erts_allctr_wrappers;
|
||||
+extern ErtsAllocatorWrapper_t *erts_allctr_wrappers;
|
||||
extern int erts_allctr_wrapper_prelocked;
|
||||
extern erts_tsd_key_t erts_allctr_prelock_tsd_key;
|
||||
void erts_allctr_wrapper_prelock_init(ErtsAllocatorWrapper_t* wrapper);
|
||||
@@ -0,0 +1,13 @@
|
||||
--- erts/emulator/beam/global.h.orig 2020-08-28 21:32:51 UTC
|
||||
+++ erts/emulator/beam/global.h
|
||||
@@ -959,8 +959,8 @@ void erts_update_ranges(BeamInstr* code, Uint size);
|
||||
void erts_remove_from_ranges(BeamInstr* code);
|
||||
UWord erts_ranges_sz(void);
|
||||
void erts_lookup_function_info(FunctionInfo* fi, BeamInstr* pc, int full_info);
|
||||
-ErtsLiteralArea** erts_dump_lit_areas;
|
||||
-Uint erts_dump_num_lit_areas;
|
||||
+extern ErtsLiteralArea** erts_dump_lit_areas;
|
||||
+extern Uint erts_dump_num_lit_areas;
|
||||
|
||||
/* break.c */
|
||||
void init_break_handler(void);
|
||||
Reference in New Issue
Block a user