Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:18
graphql
graphql-erlang-0.16.1-stacktrace.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File graphql-erlang-0.16.1-stacktrace.patch of Package graphql
diff -Ndurp graphql-erlang-0.16.1/src/graphql_internal.hrl graphql-erlang-0.16.1-stacktrace/src/graphql_internal.hrl --- graphql-erlang-0.16.1/src/graphql_internal.hrl 2021-01-21 15:23:39.000000000 +0200 +++ graphql-erlang-0.16.1-stacktrace/src/graphql_internal.hrl 2021-09-26 01:46:56.821663365 +0300 @@ -159,10 +159,15 @@ args = [] :: [any()], locations = [] :: [atom()]}). --ifdef(OTP_RELEASE). %% this implies 21 or higher +-ifdef(OTP_RELEASE). +-if(?OTP_RELEASE >= 21). -define(EXCEPTION(Class, Reason, Stacktrace), Class:Reason:Stacktrace). -define(GET_STACK(Stacktrace), Stacktrace). --else. +-endif. +-endif. +-ifndef(EXCEPTION). -define(EXCEPTION(Class, Reason, _), Class:Reason). +-endif. +-ifndef(GET_STACK). -define(GET_STACK(_), erlang:get_stacktrace()). -endif.
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