mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-10-29 20:59:46 +01:00
Detect whether st.h is present and don't use RUBY_VM as the condition
This commit is contained in:
@@ -40,8 +40,8 @@ static ID s_append;
|
||||
#include "msgpack/pack_template.h"
|
||||
|
||||
|
||||
#ifndef RUBY_VM
|
||||
#include "st.h" // ruby hash
|
||||
#ifdef HAVE_RUBY_ST_H
|
||||
#include "ruby/st.h" // ruby hash
|
||||
#endif
|
||||
|
||||
#define ARG_BUFFER(name, argc, argv) \
|
||||
|
||||
Reference in New Issue
Block a user