ruby 1.9 fix fix
This commit is contained in:
parent
9c759f0185
commit
606940eba2
|
@ -26,11 +26,11 @@
|
||||||
#define NUM2PID NUM2UINT
|
#define NUM2PID NUM2UINT
|
||||||
|
|
||||||
#ifndef RSTRING_PTR
|
#ifndef RSTRING_PTR
|
||||||
#define RSTRING_PTR(s) (s)->ptr
|
#define RSTRING_PTR(s) RSTRING(s)->ptr
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef RSTRING_LEN
|
#ifndef RSTRING_LEN
|
||||||
#define RSTRING_LEN(s) (s)->len
|
#define RSTRING_LEN(s) RSTRING(s)->len
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static sigar_t *rb_sigar_get(VALUE obj)
|
static sigar_t *rb_sigar_get(VALUE obj)
|
||||||
|
|
Loading…
Reference in New Issue