Permalink
Browse files

Upgraded erl_nif_compat.h

  • Loading branch information...
1 parent 36dd21f commit c193bc8c66c88c2093dcf947b24a0d1c96c6c3a1 @fdmanana fdmanana committed Apr 3, 2011
Showing with 6 additions and 2 deletions.
  1. +6 −2 c_src/erl_nif_compat.h
View
@@ -30,7 +30,11 @@ extern "C" {
#elif ERL_NIF_MAJOR_VERSION == 1 && ERL_NIF_MINOR_VERSION == 0
#define OTP_R13B04
#elif ERL_NIF_MAJOR_VERSION == 2 && ERL_NIF_MINOR_VERSION == 0
-#define OTP_R14
+#define OTP_R14A
+#define OTP_R14B
+#define OTP_R14B01
+#elif ERL_NIF_MAJOR_VERSION == 2 && ERL_NIF_MINOR_VERSION == 1
+#define OTP_R14B02
#endif
@@ -71,7 +75,7 @@ extern "C" {
#endif /* R13B04 */
-/* OTP R14 and future releases */
+/* OTP R14A and future releases */
#if !defined(OTP_R13B03) && !defined(OTP_R13B04)
#define enif_open_resource_type_compat(E, N, D, F, T) \

0 comments on commit c193bc8

Please sign in to comment.