Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:19
erlsom
erlsom-1.5.0-stacktrace.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File erlsom-1.5.0-stacktrace.patch of Package erlsom
diff -Ndurp erlsom-1.5.0/include/exception.hrl erlsom-1.5.0-stacktrace/include/exception.hrl --- erlsom-1.5.0/include/exception.hrl 2019-01-16 18:26:35.000000000 +0200 +++ erlsom-1.5.0-stacktrace/include/exception.hrl 2019-10-23 18:17:55.371394897 +0300 @@ -1,7 +1,12 @@ --ifdef(OTP_RELEASE). %% this implies 21 or higher +-ifdef(OTP_RELEASE). +-if (?OTP_RELEASE >= 21). %% this implies 21 or higher -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