diff options
author | Sverker Eriksson <[email protected]> | 2016-11-09 18:41:43 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2016-11-17 17:18:10 +0100 |
commit | 27e865d01ad49664897662ccc123d825505c0ff6 (patch) | |
tree | 8e2d2a54e64ea47e86f24fc96dc599b83702df6e /erts/emulator/beam/erl_gc.c | |
parent | e770c849d011d8d5872e5f1400d77c25a9268186 (diff) | |
download | otp-27e865d01ad49664897662ccc123d825505c0ff6.tar.gz otp-27e865d01ad49664897662ccc123d825505c0ff6.tar.bz2 otp-27e865d01ad49664897662ccc123d825505c0ff6.zip |
erts: Fix all -Wundef errors
Diffstat (limited to 'erts/emulator/beam/erl_gc.c')
-rw-r--r-- | erts/emulator/beam/erl_gc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/erts/emulator/beam/erl_gc.c b/erts/emulator/beam/erl_gc.c index db262d35c5..6c752b9741 100644 --- a/erts/emulator/beam/erl_gc.c +++ b/erts/emulator/beam/erl_gc.c @@ -35,7 +35,7 @@ #include "error.h" #include "big.h" #include "erl_gc.h" -#if HIPE +#ifdef HIPE #include "hipe_stack.h" #include "hipe_mode_switch.h" #endif @@ -395,11 +395,11 @@ erts_gc_after_bif_call_lhf(Process* p, ErlHeapFragment *live_hf_end, if (is_non_value(result)) { if (p->freason == TRAP) { - #if HIPE +#ifdef HIPE if (regs == NULL) { regs = erts_proc_sched_data(p)->x_reg_array; } - #endif +#endif cost = garbage_collect(p, live_hf_end, 0, regs, p->arity, p->fcalls); } else { cost = garbage_collect(p, live_hf_end, 0, regs, arity, p->fcalls); |