diff options
Diffstat (limited to 'thread_none.c')
-rw-r--r-- | thread_none.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/thread_none.c b/thread_none.c index 38730df7ba..1582609821 100644 --- a/thread_none.c +++ b/thread_none.c @@ -326,4 +326,10 @@ rb_thread_lock_native_thread(void) return false; } +void * +rb_thread_prevent_fork(void *(*func)(void *), void *data) +{ + return func(data); +} + #endif /* THREAD_SYSTEM_DEPENDENT_IMPLEMENTATION */ |