mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
io/console: fallback RARRAY_CONST_PTR
* ext/io/console/console.c (RARRAY_CONST_PTR): fallback definition for older ruby. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
0177687124
commit
c88d0666d4
1 changed files with 3 additions and 0 deletions
|
@ -14,6 +14,9 @@
|
|||
#ifdef HAVE_SYS_IOCTL_H
|
||||
#include <sys/ioctl.h>
|
||||
#endif
|
||||
#ifndef RARRAY_CONST_PTR
|
||||
# define RARRAY_CONST_PTR(ary) RARRAY_PTR(ary)
|
||||
#endif
|
||||
|
||||
#if defined HAVE_TERMIOS_H
|
||||
# include <termios.h>
|
||||
|
|
Loading…
Add table
Reference in a new issue