Skip to content

Commit

Permalink
Upgraded erl_nif_compat.h
Browse files Browse the repository at this point in the history
  • Loading branch information
fdmanana committed Apr 3, 2011
1 parent 36dd21f commit c193bc8
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions c_src/erl_nif_compat.h
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -30,7 +30,11 @@ extern "C" {
#elif ERL_NIF_MAJOR_VERSION == 1 && ERL_NIF_MINOR_VERSION == 0 #elif ERL_NIF_MAJOR_VERSION == 1 && ERL_NIF_MINOR_VERSION == 0
#define OTP_R13B04 #define OTP_R13B04
#elif ERL_NIF_MAJOR_VERSION == 2 && ERL_NIF_MINOR_VERSION == 0 #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 #endif




Expand Down Expand Up @@ -71,7 +75,7 @@ extern "C" {
#endif /* R13B04 */ #endif /* R13B04 */




/* OTP R14 and future releases */ /* OTP R14A and future releases */
#if !defined(OTP_R13B03) && !defined(OTP_R13B04) #if !defined(OTP_R13B03) && !defined(OTP_R13B04)


#define enif_open_resource_type_compat(E, N, D, F, T) \ #define enif_open_resource_type_compat(E, N, D, F, T) \
Expand Down

0 comments on commit c193bc8

Please sign in to comment.