mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
do not define our own version of memcpy
The (sole) use of memcpy in our public header is now replaced to directly call ruby_nonempty_memcpy, and the previous definition of memcpy is now internal-only. [Bug#18893]
This commit is contained in:
parent
8794cc6289
commit
7f64989e5c
Notes:
git
2022-07-07 22:11:16 +09:00
2 changed files with 4 additions and 5 deletions
|
@ -106,4 +106,7 @@ RUBY_SYMBOL_EXPORT_END
|
|||
#define RBOOL(v) ((v) ? Qtrue : Qfalse)
|
||||
#define RB_BIGNUM_TYPE_P(x) RB_TYPE_P((x), T_BIGNUM)
|
||||
|
||||
#ifndef __MINGW32__
|
||||
#define memcpy ruby_nonempty_memcpy
|
||||
#endif
|
||||
#endif /* RUBY_INTERNAL_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue