Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:20
elixir
elixir-1.8.2-stacktrace.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File elixir-1.8.2-stacktrace.patch of Package elixir
diff -Ndurp elixir-1.8.2/lib/elixir/src/elixir.hrl elixir-1.8.2-stacktrace/lib/elixir/src/elixir.hrl --- elixir-1.8.2/lib/elixir/src/elixir.hrl 2019-05-11 15:29:01.000000000 +0300 +++ elixir-1.8.2-stacktrace/lib/elixir/src/elixir.hrl 2019-09-06 15:15:16.855001862 +0300 @@ -41,9 +41,12 @@ }). %% TODO: Remove this once we support Erlang/OTP 21+ exclusively. --ifdef(OTP_RELEASE). %% defined on OTP 21+ +-ifdef(OTP_RELEASE). +-if (?OTP_RELEASE >= 21). %% defined on OTP 21+ -define(WITH_STACKTRACE(K, R, S), K:R:S ->). --else. +-endif. +-endif. +-ifndef(WITH_STACKTRACE). -define(WITH_STACKTRACE(K, R, S), K:R -> S = erlang:get_stacktrace(),). -endif. @@ -52,7 +55,7 @@ -ifdef(OTP_RELEASE). -if(?OTP_RELEASE >= 22). -define(NO_SPAWN_COMPILER_PROCESS, no_spawn_compiler_process). - -elif(?OTP_RELEASE >= 21). + -else. -define(NO_SPAWN_COMPILER_PROCESS, dialyzer, no_spawn_compiler_process). -endif. -else.
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor