commit | 6b771d2c628c7fd527d6667dd26150ac155cbc8d | [log] [tgz] |
---|---|---|
author | Bryan Duxbury <bryanduxbury@apache.org> | 周四 3月 26 04:55:34 2009 +0000 |
committer | Bryan Duxbury <bryanduxbury@apache.org> | 周四 3月 26 04:55:34 2009 +0000 |
tree | 9e8b0cbd511e58d3e0629bb712b0a66b9d73f6e9 | |
parent | 5ab303c16594ceba1e4e60ffde47653fb9d2cd3e [diff] [blame] |
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
diff --git a/lib/rb/ext/struct.c b/lib/rb/ext/struct.c index 4947e26..8dd5c3e 100644 --- a/lib/rb/ext/struct.c +++ b/lib/rb/ext/struct.c
@@ -19,6 +19,7 @@ #include <struct.h> #include <constants.h> +#include "macros.h" #ifndef HAVE_STRLCPY