summaryrefslogtreecommitdiff
path: root/coroutine/universal/Context.h
diff options
context:
space:
mode:
Diffstat (limited to 'coroutine/universal/Context.h')
-rw-r--r--coroutine/universal/Context.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/coroutine/universal/Context.h b/coroutine/universal/Context.h
new file mode 100644
index 0000000000..9a2ef425db
--- /dev/null
+++ b/coroutine/universal/Context.h
@@ -0,0 +1,17 @@
+#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 __ppc64__
+# include "coroutine/ppc64le/Context.h"
+#elif defined __arm64__
+# include "coroutine/arm64/Context.h"
+#else
+# error "Unsupported CPU"
+#endif
+
+#endif /* COROUTINE_UNIVERSAL_CONTEXT_H */