Commits

tuncer committed 66daa6c

Fix R14B02 compatibility

Comments (0)

Files changed (1)

c_src/erl_nif_compat.h

 #define enif_free_compat enif_free
 #endif /* R13B04 */
 
-#if ERL_NIF_MAJOR_VERSION == 2 && ERL_NIF_MINOR_VERSION == 0
+#if ERL_NIF_MAJOR_VERSION == 2 && ERL_NIF_MINOR_VERSION >= 0
 
 #define enif_open_resource_type_compat(E, N, D, F, T) \
     enif_open_resource_type(E, NULL, N, D, F, T)