mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Fix and improve coroutines for Darwin (macOS) ppc/ppc64. (#5975)
This commit is contained in:
parent
fc3137ef54
commit
567725ed30
Notes:
git
2022-10-19 10:50:05 +00:00
Merged-By: ioquatix <samuel@codeotaku.com>
17 changed files with 196 additions and 120 deletions
3
regint.h
3
regint.h
|
@ -49,10 +49,11 @@
|
|||
# endif
|
||||
#endif
|
||||
|
||||
/* __POWERPC__ added to accommodate Darwin case. */
|
||||
#ifndef UNALIGNED_WORD_ACCESS
|
||||
# if defined(__i386) || defined(__i386__) || defined(_M_IX86) || \
|
||||
defined(__x86_64) || defined(__x86_64__) || defined(_M_AMD64) || \
|
||||
defined(__powerpc64__) || defined(__aarch64__) || \
|
||||
defined(__powerpc64__) || defined(__POWERPC__) || defined(__aarch64__) || \
|
||||
defined(__mc68020__)
|
||||
# define UNALIGNED_WORD_ACCESS 1
|
||||
# else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue