Suppress an unused function
This commit is contained in:
parent
f2377e4caa
commit
23090cf681
@ -143,6 +143,7 @@ static VALUE thread_spec_ruby_native_thread_p(VALUE self) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef _WIN32
|
||||||
static VALUE false_result = Qfalse;
|
static VALUE false_result = Qfalse;
|
||||||
static VALUE true_result = Qtrue;
|
static VALUE true_result = Qtrue;
|
||||||
|
|
||||||
@ -153,6 +154,7 @@ static void *new_thread_check(void *args) {
|
|||||||
return &false_result;
|
return &false_result;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
static VALUE thread_spec_ruby_native_thread_p_new_thread(VALUE self) {
|
static VALUE thread_spec_ruby_native_thread_p_new_thread(VALUE self) {
|
||||||
#ifndef _WIN32
|
#ifndef _WIN32
|
||||||
|
Loading…
x
Reference in New Issue
Block a user