mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
539459abda
* add coroutines for ppc & ppc64 * fix universal coroutine to include ppc & ppc64 * add powerpc*-darwin to configure.ac * fix thread_pthread for older systems
21 lines
593 B
C
21 lines
593 B
C
#ifndef COROUTINE_UNIVERSAL_CONTEXT_H
|
|
#define COROUTINE_UNIVERSAL_CONTEXT_H 1
|
|
|
|
#if 0
|
|
#elif defined __x86_64__
|
|
# include "coroutine/amd64/Context.h"
|
|
#elif defined __i386__
|
|
# include "coroutine/x86/Context.h"
|
|
#elif defined __ppc__
|
|
# include "coroutine/ppc/Context.h"
|
|
#elif defined __ppc64__ && defined(WORDS_BIGENDIAN)
|
|
# include "coroutine/ppc64/Context.h"
|
|
#elif defined __ppc64__ && !defined(WORDS_BIGENDIAN)
|
|
# include "coroutine/ppc64le/Context.h"
|
|
#elif defined __arm64__
|
|
# include "coroutine/arm64/Context.h"
|
|
#else
|
|
# error "Unsupported CPU"
|
|
#endif
|
|
|
|
#endif /* COROUTINE_UNIVERSAL_CONTEXT_H */
|