<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 27, 2017 at 10:49 AM, Caragea Silviu <span dir="ltr"><<a href="mailto:silviu.cpp@gmail.com" target="_blank">silviu.cpp@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><div><div>Hello,<br><br></div>There is any define in the nif headers to indicate what OTP version I'm compiling against ?<br><br></div>i want to change one of my projects in case it;s compiled against OTP 20 or newer to use enif_select for some features.<br></div></div></div></blockquote><div><br></div><div>#define ERL_NIF_MAJOR_VERSION 2</div><div>#define ERL_NIF_MINOR_VERSION 12 </div><div><br></div><div>You'll need to figure out the version at which your desired feature appeared.</div><div><br></div><div>--steve</div></div></div></div>