Commit 8a3a3a5a authored by cremno's avatar cremno

Clang and ICC/ICL: define DIRECT_THREADED

This is most likely only needed on Windows be-
cause __GNUC__ is not defined by both compilers.

It might fail with some unusual configurations.
If that is the case, feel free to open an issue.
parent d7960bf2
...@@ -527,7 +527,7 @@ argnum_error(mrb_state *mrb, int num) ...@@ -527,7 +527,7 @@ argnum_error(mrb_state *mrb, int num)
#define CODE_FETCH_HOOK(mrb, irep, pc, regs) #define CODE_FETCH_HOOK(mrb, irep, pc, regs)
#endif #endif
#ifdef __GNUC__ #if defined __GNUC__ || defined __clang__ || defined __INTEL_COMPILER
#define DIRECT_THREADED #define DIRECT_THREADED
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment