Skip to content

Commit

Permalink
Merge pull request #79 from jwillemsen/jwi-memcpy2
Browse files Browse the repository at this point in the history
Undefine memcpy when it has been defined by ruby as macro (ruby 2.7.2…
  • Loading branch information
jwillemsen authored Mar 15, 2021
2 parents 0ba53b6 + 6de308a commit 1f5670f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ext/libr2tao/required.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@
#if defined (access)
# undef access
#endif
#if defined (memcpy)
# undef memcpy
#endif

#undef RUBY_METHOD_FUNC
extern "C" {
Expand Down

0 comments on commit 1f5670f

Please sign in to comment.