about summary refs log tree commit homepage
path: root/ext/kgio/kgio.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/kgio/kgio.h')
-rw-r--r--ext/kgio/kgio.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/kgio/kgio.h b/ext/kgio/kgio.h
index 8e4d698..fcdf0fe 100644
--- a/ext/kgio/kgio.h
+++ b/ext/kgio/kgio.h
@@ -46,4 +46,7 @@ VALUE kgio_call_wait_readable(VALUE io);
 #  define USE_KGIO_POLL
 #endif /* USE_KGIO_POLL */
 
+#ifndef HAVE_RB_UPDATE_MAX_FD
+#  define rb_update_max_fd(fd) for (;0;)
+#endif
 #endif /* KGIO_H */