Get rid of redefinition of rb_execution_context_t

Regardless of the order to include "vm_core.h" and "builtin.h".
This commit is contained in:
Nobuyoshi Nakada 2020-03-19 13:25:53 +09:00
parent eeb178dc1f
commit b6833ff50d
No known key found for this signature in database
GPG key ID: 4BC7D6DF58D8DF60
2 changed files with 9 additions and 3 deletions

View file

@ -22,8 +22,9 @@ struct rb_builtin_function {
void rb_load_with_builtin_functions(const char *feature_name, const struct rb_builtin_function *table);
#ifndef VM_CORE_H_EC_DEFINED
#ifndef rb_execution_context_t
typedef struct rb_execution_context_struct rb_execution_context_t;
#define rb_execution_context_t rb_execution_context_t
#endif
/* The following code is generated by the following Ruby script: