THRIFT-408. rb: Ruby C extension doesn't build on 1.8.5
authorBryan Duxbury <bryanduxbury@apache.org>
Thu, 26 Mar 2009 04:55:34 +0000 (04:55 +0000)
committerBryan Duxbury <bryanduxbury@apache.org>
Thu, 26 Mar 2009 04:55:34 +0000 (04:55 +0000)
commit6b771d2c628c7fd527d6667dd26150ac155cbc8d
tree9e8b0cbd511e58d3e0629bb712b0a66b9d73f6e9
parent5ab303c16594ceba1e4e60ffde47653fb9d2cd3e
THRIFT-408. rb: Ruby C extension doesn't build on 1.8.5

This patch redefines the important macros so 1.8.5 is compatible.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@758517 13f79535-47bb-0310-9956-ffa450edef68
lib/rb/ext/macros.h
lib/rb/ext/memory_buffer.c
lib/rb/ext/struct.c