ext/typhoeus/native.h in typhoeus-0.1.10 vs ext/typhoeus/native.h in typhoeus-0.1.11
- old
+ new
@@ -10,5 +10,12 @@
extern VALUE mTyphoeus;
extern void init_typhoeus_easy();
extern void init_typhoeus_multi();
#endif
+
+#ifndef RSTRING_PTR
+
+#define RSTRING_PTR(s) (RSTRING(s)->ptr)
+#define RSTRING_LEN(s) (RSTRING(s)->len)
+
+#endif
\ No newline at end of file