[erlang-questions] NIF how to check the vm version
Thu Jul 27 17:06:00 CEST 2017
On Thu, Jul 27, 2017 at 10:49 AM, Caragea Silviu <silviu.cpp@REDACTED>
> There is any define in the nif headers to indicate what OTP version I'm
> compiling against ?
> 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.
#define ERL_NIF_MAJOR_VERSION 2
#define ERL_NIF_MINOR_VERSION 12
You'll need to figure out the version at which your desired feature
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions