[erlang-questions] predefined Erlang version macros
Stefan Jahn
stefan@REDACTED
Tue Jul 2 15:13:47 CEST 2013
Dear Erlang'ers,
sometimes it would be nice to enable version-dependend code such as
needed here:
%% R16B: use new ssh behaviour
%-behaviour(ssh_daemon_channel).
%% R15: use old ssh behaviour
-behaviour(ssh_channel).
Is there anything suitable in Erlang? Or is it unwanted because of
strict versioning requirements of modules and applications?
Thank you in advance,
Stefan.
More information about the erlang-questions
mailing list