ruby 1.9 fix fix

This commit is contained in:
Doug MacEachern 2009-02-15 20:09:42 -08:00
parent 9c759f0185
commit 606940eba2
1 changed files with 2 additions and 2 deletions

View File

@ -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)