Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:26
cpg
0014-cpg_callbacks-add-ERLANG_OTP_VERSION_18-to...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0014-cpg_callbacks-add-ERLANG_OTP_VERSION_18-to-feature-c.patch of Package cpg
From 5b11084b26901e38a966a9de40041d8e7850b3a7 Mon Sep 17 00:00:00 2001 From: Led <ledest@gmail.com> Date: Thu, 25 Apr 2019 02:56:57 +0300 Subject: [PATCH 14/15] cpg_callbacks: add ERLANG_OTP_VERSION_18 to feature checking --- src/cpg_callbacks.erl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/cpg_callbacks.erl b/src/cpg_callbacks.erl index d013096..1a21cb3 100644 --- a/src/cpg_callbacks.erl +++ b/src/cpg_callbacks.erl @@ -55,6 +55,8 @@ -include("cpg_logging.hrl"). % for features specific to Erlang/OTP version 21.x (and later versions) +-ifdef(ERLANG_OTP_VERSION_18). +-else. -ifdef(ERLANG_OTP_VERSION_19). -else. -ifdef(ERLANG_OTP_VERSION_20). @@ -66,6 +68,7 @@ -endif. -endif. -endif. +-endif. % Get the stacktrace in a way that is backwards compatible -ifdef(ERLANG_OTP_VERSION_21_FEATURES). -- 2.16.4
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