mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-03-19 04:52:59 +01:00
ruby: fix ruby/st.h on ruby 1.8
This commit is contained in:
parent
44f37b8d1b
commit
9f563f87b9
@ -40,9 +40,10 @@ static ID s_append;
|
|||||||
#include "msgpack/pack_template.h"
|
#include "msgpack/pack_template.h"
|
||||||
|
|
||||||
|
|
||||||
#ifdef HAVE_RUBY_ST_H
|
#if defined(HAVE_RUBY_ST_H)
|
||||||
#include "ruby/st.h" // ruby hash
|
#include "ruby/st.h" // ruby hash on Ruby 1.9
|
||||||
#endif
|
#elif defined(HAVE_ST_H)
|
||||||
|
#include "st.h" // ruby hash on Ruby 1.8
|
||||||
|
|
||||||
#define ARG_BUFFER(name, argc, argv) \
|
#define ARG_BUFFER(name, argc, argv) \
|
||||||
VALUE name; \
|
VALUE name; \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user