Skip to content

Commit

Permalink
Add typedefs for older ERTS versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ransom Richardson committed Aug 3, 2012
1 parent 436a5d7 commit 4586067
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions c_src/hash_ring_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@
#include <arpa/inet.h>
#include "erl_driver.h"

#if ERL_DRV_EXTENDED_MAJOR_VERSION < 2
typedef int ErlDrvSizeT;
typedef int ErlDrvSSizeT;
#endif

#include "hash_ring.h"

/**
Expand Down

0 comments on commit 4586067

Please sign in to comment.