[Win32utils-devel] 1.9.x compatibility for win32-api

Berger, Daniel Daniel.Berger at qwest.com
Wed Feb 18 11:31:40 EST 2009


Anyone have any ideas on how to make win32-api compatible with 1.9.x?

It seems 1.9 doesn't allow stuff like RSTRING(ptr)->len; you must instead use wrapper macros like RSTRING_LEN(ptr). I'm not really sure why.

Anyway, I've added a have_macro check to the extconf.rb file, so we detect if we're on 1.9.x via:

#define HAVE_RSTRING_LEN xxx <- What should go here?



More information about the win32utils-devel mailing list