Github user rnewson commented on a diff in the pull request:

    https://github.com/apache/couchdb/pull/348#discussion_r40654797
  
    --- Diff: rebar.config.script ---
    @@ -15,6 +15,18 @@
     ConfigureEnv = filename:join(filename:dirname(SCRIPT), "config.erl"),
     os:putenv("COUCHDB_CONFIG", ConfigureEnv).
     
    +OTP_VSN = erlang:system_info(compat_rel),
    +
    +Features = lists:filter(fun({_K, Flag}) -> Flag end, [
    +    {'HAS_CALLBACKS', OTP_VSN > 14}
    +]),
    +
    +Properties = Features ++ [
    +    {'OTP_VSN', OTP_VSN},
    +    {'OTP_RELEASE', erlang:system_info(otp_release)}
    +],
    --- End diff --
    
    further hm, how would we use ?OTP_RELEASE in code? We couldn't use a macro 
conditional on its value in couch_crypto as far as I can see.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to