Skip to content

Commit ec2e092

Browse files
author
José Valim
committed
Add no_spawn_compiler_process option to previous OTP releases
Because Elixir may be compiled with Erlang/OTP 20 to run on Erlang/OTP 22.
1 parent 6495401 commit ec2e092

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/elixir/src/elixir.hrl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@
5353
-if(?OTP_RELEASE >= 22).
5454
-define(NO_SPAWN_COMPILER_PROCESS, no_spawn_compiler_process).
5555
-elif(?OTP_RELEASE >= 21).
56-
-define(NO_SPAWN_COMPILER_PROCESS, dialyzer).
56+
-define(NO_SPAWN_COMPILER_PROCESS, dialyzer, no_spawn_compiler_process).
5757
-endif.
5858
-else.
59-
-define(NO_SPAWN_COMPILER_PROCESS, dialyzer).
59+
-define(NO_SPAWN_COMPILER_PROCESS, dialyzer, no_spawn_compiler_process).
6060
-endif.

0 commit comments

Comments
 (0)