Permalink
Browse files

Fix R14B02 compatibility

  • Loading branch information...
tuncer authored and dizzyd committed Feb 22, 2011
1 parent 1bbfcb1 commit 75fb2a73adffacd120a236f09eade9d298d8e7e0
Showing with 1 addition and 1 deletion.
  1. +1 −1 c_src/erl_nif_compat.h
View
@@ -23,7 +23,7 @@ extern "C" {
#define ErlNifCond ErlDrvCond
#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)

0 comments on commit 75fb2a7

Please sign in to comment.