summaryrefslogtreecommitdiff
path: root/vm_core.h
diff options
context:
space:
mode:
authorYuta Saito <kateinoigakukun@gmail.com>2021-10-28 15:51:40 +0900
committerYusuke Endoh <mame@ruby-lang.org>2021-10-30 10:18:33 +0900
commit8590d61ea9b6b91c89a14a8d0f6829c8a3a8c6c8 (patch)
tree52b07a13002406e41bc9f22c11614387650b952d /vm_core.h
parentccda26efe7c6acf7edd1262dd2826b8c7008ff75 (diff)
Select including thread impl file at config time
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/5043
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/vm_core.h b/vm_core.h
index 96437ff559..2e022a6dd0 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -80,11 +80,7 @@
#include "darray.h"
#include "ruby/thread_native.h"
-#if defined(_WIN32)
-#include "thread_win32.h"
-#elif defined(HAVE_PTHREAD_H)
-#include "thread_pthread.h"
-#endif
+#include THREAD_IMPL_H
#define RUBY_VM_THREAD_MODEL 2