summaryrefslogtreecommitdiff
path: root/thread_pthread.c
diff options
context:
space:
mode:
Diffstat (limited to 'thread_pthread.c')
-rw-r--r--thread_pthread.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/thread_pthread.c b/thread_pthread.c
index eb98024d2b..f995757929 100644
--- a/thread_pthread.c
+++ b/thread_pthread.c
@@ -64,10 +64,6 @@ static pthread_t timer_thread_id;
# define USE_SLEEPY_TIMER_THREAD 0
#endif
-#ifndef numberof
-#define numberof(array) (int)(sizeof(array) / sizeof((array)[0]))
-#endif
-
static void
gvl_acquire_common(rb_vm_t *vm)
{