
do_mysql fails to compile on Ruby 1.8.5 (patch)
Reported by Dan Sully | September 8th, 2008 @ 03:39 PM
/ for compatibility with Ruby 1.8.5, which doesn't declare RSTRING_PTR /
ifndef RSTRING_PTR
define RSTRING_PTR(s) (RSTRING(s)->ptr)
endif
/ for compatibility with Ruby 1.8.5, which doesn't declare RSTRING_LEN /
ifndef RSTRING_LEN
define RSTRING_LEN(s) (RSTRING(s)->len)
endif
Comments and changes to this ticket
-
-
-
Adam French September 9th, 2008 @ 09:29 PM
- State changed from new to resolved
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »